summaryrefslogtreecommitdiff
path: root/trans/firmlink.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-07-20 06:52:25 +0000
committerRoland McGrath <roland@gnu.org>1998-07-20 06:52:25 +0000
commit15b92b3a0a0c5b124e1ec7b2c107f625acdc9a67 (patch)
tree2904869646bc3d4f337a91838e880de0d208350a /trans/firmlink.c
parenta39b14357bcf19663de3994d7a4068ecea8a6a64 (diff)
1998-07-20 Roland McGrath <roland@baalperazim.frob.com>
* firmlink.c (main): Fix return type to int, and use return. * fwd.c (main): Likewise. * new-fifo.c (main): Likewise. * magic.c (main): Likewise. * fifo.c (main): Likewise. * null.c (main): Likewise.
Diffstat (limited to 'trans/firmlink.c')
-rw-r--r--trans/firmlink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/trans/firmlink.c b/trans/firmlink.c
index 1012059e..568316dc 100644
--- a/trans/firmlink.c
+++ b/trans/firmlink.c
@@ -1,6 +1,6 @@
/* A translator for `firmlinks'
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -65,7 +65,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
static struct argp argp = { options, parse_opt, args_doc, doc };
-void
+int
main (int argc, char **argv)
{
error_t err;
@@ -88,7 +88,7 @@ main (int argc, char **argv)
ports_manage_port_operations_multithread (fsys->pi.bucket, trivfs_demuxer,
2 * 60 * 1000, 0, 0);
- exit (0);
+ return 0;
}
/* Return in LINK the node that TARGET_NAME resolves to, with its parent