diff -Naur symlinks-1.2.orig/Makefile symlinks-1.2.new/Makefile --- symlinks-1.2.orig/Makefile Sun Nov 27 15:13:31 1994 +++ symlinks-1.2.new/Makefile Fri Sep 24 10:48:33 2004 @@ -3,7 +3,7 @@ all: symlinks symlinks: symlinks.c - gcc -Wall -Wstrict-prototypes -O2 -N -s -o symlinks symlinks.c + gcc -Wall -Wstrict-prototypes -O2 -s -o symlinks symlinks.c install: all symlinks.8 install -m 755 -o root -g root symlinks /usr/local/bin diff -Naur symlinks-1.2.orig/symlinks.c symlinks-1.2.new/symlinks.c --- symlinks-1.2.orig/symlinks.c Tue Oct 15 12:02:57 1996 +++ symlinks-1.2.new/symlinks.c Fri Sep 24 10:55:31 2004 @@ -1,9 +1,9 @@ #include #ifndef _POSIX_SOURCE -#define _POSIX_SOURCE +// #define _POSIX_SOURCE #endif #include -#include +#include #include #include #include @@ -294,7 +294,7 @@ exit(1); } -void main(int argc, char **argv) +int main(int argc, char **argv) { static char path[PATH_MAX+2], cwd[PATH_MAX+2]; int dircount = 0; @@ -342,5 +342,5 @@ } if (dircount == 0) usage_error(); - exit (0); + return 0; }