diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-02-08 19:58:47 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-02-08 19:58:47 +0000 |
commit | a18125005d67c38a8ad7fb454571bb996664ad96 (patch) | |
tree | c90bda10731ad9333ce3b404f993354c9fc104b8 /coreutils/sync.c | |
parent | 8ef3b44285a8ce5b83bed9cf32ce5f40b30ba72f (diff) | |
download | busybox-w32-a18125005d67c38a8ad7fb454571bb996664ad96.tar.gz busybox-w32-a18125005d67c38a8ad7fb454571bb996664ad96.tar.bz2 busybox-w32-a18125005d67c38a8ad7fb454571bb996664ad96.zip |
Some formatting updates (ran the code through indent)
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/sync.c')
-rw-r--r-- | coreutils/sync.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/coreutils/sync.c b/coreutils/sync.c index 145ed1eda..f8160c8dc 100644 --- a/coreutils/sync.c +++ b/coreutils/sync.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * Mini sync implementation for busybox | 3 | * Mini sync implementation for busybox |
3 | * | 4 | * |
@@ -23,12 +24,10 @@ | |||
23 | #include "internal.h" | 24 | #include "internal.h" |
24 | #include <stdio.h> | 25 | #include <stdio.h> |
25 | 26 | ||
26 | extern int | 27 | extern int sync_main(int argc, char **argv) |
27 | sync_main(int argc, char * * argv) | ||
28 | { | 28 | { |
29 | if ( argc>1 && **(argv+1) == '-' ) { | 29 | if (argc > 1 && **(argv + 1) == '-') { |
30 | usage( "sync\n\nWrite all buffered filesystem blocks to disk.\n"); | 30 | usage("sync\n\nWrite all buffered filesystem blocks to disk.\n"); |
31 | } | 31 | } |
32 | exit( sync()); | 32 | exit(sync()); |
33 | } | 33 | } |
34 | |||