summaryrefslogtreecommitdiff
path: root/libc/inet/rpc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-23 14:57:49 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-23 14:57:49 +0000
commit7b5700771373c3487306cf2054501448769c6160 (patch)
treede0a52fa08b4d077baaa69d8a5f47070ac0d9581 /libc/inet/rpc
parentba9a21b2fa45a29a9e3dff6e0b199d8da5059811 (diff)
Add some attribute_noreturn, replace __attribute__ ((noreturn)) as well
Diffstat (limited to 'libc/inet/rpc')
-rw-r--r--libc/inet/rpc/svc_tcp.c2
-rw-r--r--libc/inet/rpc/svc_unix.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c
index 135ad65fd..8f2863f76 100644
--- a/libc/inet/rpc/svc_tcp.c
+++ b/libc/inet/rpc/svc_tcp.c
@@ -110,7 +110,7 @@ static const struct xp_ops svctcp_op =
*/
static bool_t rendezvous_request (SVCXPRT *, struct rpc_msg *);
static enum xprt_stat rendezvous_stat (SVCXPRT *);
-static void svctcp_rendezvous_abort (void);
+static void svctcp_rendezvous_abort (void) attribute_noreturn;
/* This function makes sure abort() relocation goes through PLT
and thus can be lazy bound. */
diff --git a/libc/inet/rpc/svc_unix.c b/libc/inet/rpc/svc_unix.c
index 3e4b6ea6b..4c538b2f1 100644
--- a/libc/inet/rpc/svc_unix.c
+++ b/libc/inet/rpc/svc_unix.c
@@ -109,7 +109,7 @@ static const struct xp_ops svcunix_op =
*/
static bool_t rendezvous_request (SVCXPRT *, struct rpc_msg *);
static enum xprt_stat rendezvous_stat (SVCXPRT *);
-static void svcunix_rendezvous_abort (void);
+static void svcunix_rendezvous_abort (void) attribute_noreturn;
/* This function makes sure abort() relocation goes through PLT
and thus can be lazy bound. */