aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/rpc_scan.h
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_scan.h
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_scan.h')
-rw-r--r--sunrpc/rpc_scan.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sunrpc/rpc_scan.h b/sunrpc/rpc_scan.h
index 9a4383d..2f0d586 100644
--- a/sunrpc/rpc_scan.h
+++ b/sunrpc/rpc_scan.h
@@ -99,7 +99,8 @@ void scan_num(token *tokp);
void peek(token *tokp);
int peekscan(tok_kind expect, token *tokp);
void get_token(token *tokp);
-void expected1(tok_kind exp1);
-void expected2(tok_kind exp1, tok_kind exp2);
-void expected3(tok_kind exp1, tok_kind exp2, tok_kind exp3);
+void expected1(tok_kind exp1) __attribute__ ((noreturn));
+void expected2(tok_kind exp1, tok_kind exp2) __attribute__ ((noreturn));
+void expected3(tok_kind exp1, tok_kind exp2, tok_kind exp3)
+ __attribute__ ((noreturn));