about summary refs log tree commit diff
path: root/sunrpc/rpc_scan.h
diff options
context:
space:
mode:
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 9a4383dea3..2f0d586682 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));