From e65231e86b00ecd3751a8afbe9a9bc901f0fe309 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 4 Sep 1998 18:27:13 +0000 Subject: 1998-09-04 Roland McGrath * ext2fs.c (main): Fix return type to int. --- ext2fs/ext2fs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ext2fs/ext2fs.c') diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c index 209c5109..ffb9b203 100644 --- a/ext2fs/ext2fs.c +++ b/ext2fs/ext2fs.c @@ -1,6 +1,6 @@ /* Main entry point for the ext2 file system translator - Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1994, 95, 96, 97, 98 Free Software Foundation, Inc. Converted for ext2fs by Miles Bader @@ -132,7 +132,7 @@ static struct argp runtime_argp = {options, parse_opt, 0, 0, runtime_children}; struct argp *diskfs_runtime_argp = (struct argp *)&runtime_argp; -void +int main (int argc, char **argv) { error_t err; @@ -202,6 +202,8 @@ main (int argc, char **argv) /* and so we die, leaving others to do the real work. */ cthread_exit (0); + /* NOTREACHED */ + return 0; } error_t -- cgit v1.2.3