diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-31 16:56:02 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-31 16:56:02 +0000 |
commit | 4e6bc1f61caff64d2f667dbb5c2d031f75d340be (patch) | |
tree | 1d12ae6d1c1a301ee64fbf9f45cdc99160013d40 /sunrpc/rpc_main.c | |
parent | fa39f7f7bedcbb61c3f6b9f1bbe3d1623ca6a8e9 (diff) | |
download | glibc-4e6bc1f61caff64d2f667dbb5c2d031f75d340be.tar glibc-4e6bc1f61caff64d2f667dbb5c2d031f75d340be.tar.gz glibc-4e6bc1f61caff64d2f667dbb5c2d031f75d340be.tar.bz2 glibc-4e6bc1f61caff64d2f667dbb5c2d031f75d340be.zip |
(main): Use return instead of exit to avoid warning.
2000-12-31 Andreas Jaeger <aj@suse.de>
* tst-fmon.c (main): Use return instead of exit to avoid warning.
Diffstat (limited to 'sunrpc/rpc_main.c')
-rw-r--r-- | sunrpc/rpc_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c index b780bdbc7d..d43b69d8bc 100644 --- a/sunrpc/rpc_main.c +++ b/sunrpc/rpc_main.c @@ -134,8 +134,8 @@ static void addarg (const char *cp); static void putarg (int whereto, const char *cp); static void checkfiles (const char *infile, const char *outfile); static int parseargs (int argc, const char *argv[], struct commandline *cmd); -static void usage (void); -static void options_usage (void); +static void usage (void) __attribute__ ((noreturn)); +static void options_usage (void) __attribute__ ((noreturn)); static void c_initialize (void); static char *generate_guard (const char *pathname); @@ -180,6 +180,7 @@ xdrfunc *xdrfunc_head = NULL; /* xdr function list */ xdrfunc *xdrfunc_tail = NULL; /* xdr function list */ int +__attribute__ ((noreturn)) main (int argc, const char *argv[]) { struct commandline cmd; |