diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1994-09-20 07:02:35 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1994-09-20 07:02:35 +0000 |
commit | 9e6f6868ff810a7ee73c3dcaa1c8cf564fe0e2d8 (patch) | |
tree | da1472e9b3b4f4e9635e0fe33353c5107f0365ec /bin/sync | |
parent | 3a1552326096fc131b570be1f9b594834ca330bd (diff) | |
download | src-9e6f6868ff810a7ee73c3dcaa1c8cf564fe0e2d8.tar.gz src-9e6f6868ff810a7ee73c3dcaa1c8cf564fe0e2d8.zip |
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"
Notes
Notes:
svn path=/head/; revision=2925
Diffstat (limited to 'bin/sync')
-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 23714f589382..9a2747b89284 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); |