about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
commit60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca (patch)
tree29d9258b64874c6c9838757a9c67ef62a6a0868c /sunrpc
parent2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff)
downloadglibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.xz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip
Use (void) in no-arguments function definitions.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/clnt_tcp.c2
-rw-r--r--sunrpc/clnt_unix.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c
index ec85930e44..b46905fb06 100644
--- a/sunrpc/clnt_tcp.c
+++ b/sunrpc/clnt_tcp.c
@@ -356,7 +356,7 @@ clnttcp_freeres (cl, xdr_res, res_ptr)
 }
 
 static void
-clnttcp_abort ()
+clnttcp_abort (void)
 {
 }
 
diff --git a/sunrpc/clnt_unix.c b/sunrpc/clnt_unix.c
index 9b5d7ca822..2ad8197256 100644
--- a/sunrpc/clnt_unix.c
+++ b/sunrpc/clnt_unix.c
@@ -330,7 +330,7 @@ clntunix_freeres (cl, xdr_res, res_ptr)
 }
 
 static void
-clntunix_abort ()
+clntunix_abort (void)
 {
 }