Modified viewlog.c and viewlog.h to look like original one.