diff -u -r logcheck-1.1.1.orig/Makefile logcheck-1.1.1/Makefile --- logcheck-1.1.1.orig/Makefile 1999-11-01 00:07:29.000000000 +0900 +++ logcheck-1.1.1/Makefile 2005-12-02 13:48:59.943715183 +0900 @@ -6,12 +6,12 @@ # # Generic compiler - CC = cc +# CC = cc # GNU.. -# CC = gcc +CC = gcc # Normal systems flags -CFLAGS = -O +CFLAGS = -O2 -march=pentium3 # Braindead HPUX compiler flags #CFLAGS = -O -Aa @@ -26,8 +26,8 @@ # Some people want the logcheck.sh in /usr/local/bin. Uncomment this # if you want this. /usr/local/etc was kept for compatibility reasons. -#INSTALLDIR_SH = /usr/local/bin -INSTALLDIR_SH = /usr/local/etc +INSTALLDIR_SH = /usr/local/bin +#INSTALLDIR_SH = /usr/local/etc # The scratch directory for logcheck files. TMPDIR = /usr/local/etc/tmp diff -u -r logcheck-1.1.1.orig/src/logtail.c logcheck-1.1.1/src/logtail.c --- logcheck-1.1.1.orig/src/logtail.c 1999-11-01 00:07:29.000000000 +0900 +++ logcheck-1.1.1/src/logtail.c 2005-12-02 13:49:14.264598794 +0900 @@ -47,7 +47,7 @@ void usage(void); int check_log(char *logname, char *offset_filename); -void main(int argc, char *argv[]) +int main(int argc, char *argv[]) { int status=1; /* Set status flag to error */