summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-04-25 22:33:30 +0000
committerimp <imp@FreeBSD.org>1999-04-25 22:33:30 +0000
commitd12a7ef464b342d4fca0ef83535cf75b401d3f38 (patch)
tree49220254cb1e1c00032fa05812a6e2ac12b743c0 /sbin/fsdb
parent404ab5f9ba8f886a2b4a3de13ab226213fd976bb (diff)
downloadFreeBSD-src-d12a7ef464b342d4fca0ef83535cf75b401d3f38.zip
FreeBSD-src-d12a7ef464b342d4fca0ef83535cf75b401d3f38.tar.gz
More egcs warning fixes:
o main returns int not void o use braces to avoid potentially ambiguous else Note: The fix to natd is potentially functional in nature since I used the indentation as the right thing rather than the struct semantics. Someone more familiar with the code should double check me on this one. Reviewed by: obrien and chuckr
Diffstat (limited to 'sbin/fsdb')
-rw-r--r--sbin/fsdb/fsdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c
index 423a160..007b762 100644
--- a/sbin/fsdb/fsdb.c
+++ b/sbin/fsdb/fsdb.c
@@ -30,7 +30,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: fsdb.c,v 1.10 1998/06/15 07:12:19 charnier Exp $";
+ "$Id: fsdb.c,v 1.11 1998/11/09 03:43:55 truckman Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -69,7 +69,7 @@ char nflag = 0;
* fsreadfd is set up to read from the file system, fswritefd to write to
* the file system.
*/
-void
+int
main(argc, argv)
int argc;
char *argv[];
OpenPOWER on IntegriCloud