summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-09-04 18:27:13 +0000
committerRoland McGrath <roland@gnu.org>1998-09-04 18:27:13 +0000
commite65231e86b00ecd3751a8afbe9a9bc901f0fe309 (patch)
tree60144c4a7b2ae15f2982ae83440572d1e4d3d361 /ext2fs
parent134a2b413290a82e3271465b9048268133fabf04 (diff)
1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
* ext2fs.c (main): Fix return type to int.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ext2fs.c6
1 files changed, 4 insertions, 2 deletions
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 <miles@gnu.ai.mit.edu>
@@ -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