aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/rpc_main.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-31 16:56:02 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-31 16:56:02 +0000
commit4e6bc1f61caff64d2f667dbb5c2d031f75d340be (patch)
tree1d12ae6d1c1a301ee64fbf9f45cdc99160013d40 /sunrpc/rpc_main.c
parentfa39f7f7bedcbb61c3f6b9f1bbe3d1623ca6a8e9 (diff)
downloadglibc-4e6bc1f61caff64d2f667dbb5c2d031f75d340be.zip
glibc-4e6bc1f61caff64d2f667dbb5c2d031f75d340be.tar.gz
glibc-4e6bc1f61caff64d2f667dbb5c2d031f75d340be.tar.bz2
(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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c
index b780bdb..d43b69d 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;