diff options
author | phk <phk@FreeBSD.org> | 1994-09-20 07:02:35 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-09-20 07:02:35 +0000 |
commit | 936982de1343187e94e3bc9a63b9bbed4803f78a (patch) | |
tree | da1472e9b3b4f4e9635e0fe33353c5107f0365ec /bin/sync/sync.c | |
parent | 2c9f4788e2dd4a0f0dfc18596989f5ba389f7430 (diff) | |
download | FreeBSD-src-936982de1343187e94e3bc9a63b9bbed4803f78a.zip FreeBSD-src-936982de1343187e94e3bc9a63b9bbed4803f78a.tar.gz |
The former patch to sync.c was short-lived. Bruce pointed out that
"Now it is has 2 portability bugs, which is a lot for 5 lines of working code"
Diffstat (limited to 'bin/sync/sync.c')
-rw-r--r-- | bin/sync/sync.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/sync/sync.c b/bin/sync/sync.c index 23714f5..9a2747b 100644 --- a/bin/sync/sync.c +++ b/bin/sync/sync.c @@ -41,9 +41,10 @@ static char copyright[] = static char sccsid[] = "@(#)sync.c 8.1 (Berkeley) 5/31/93"; #endif /* not lint */ -void sync(); +#include <unistd.h> -void main() +int +main() { sync(); exit(0); |