summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc_run.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 00:58:03 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 00:58:03 +0000
commitaf0172162f7c653cad6a11ed1c1a5459bc154465 (patch)
tree70031dad1e7286d58762da7b9e3d3f93d043c278 /libc/inet/rpc/svc_run.c
parentc8609543a9a8bf6559c2931dbbef6b3c41b3fbf2 (diff)
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
Diffstat (limited to 'libc/inet/rpc/svc_run.c')
-rw-r--r--libc/inet/rpc/svc_run.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/inet/rpc/svc_run.c b/libc/inet/rpc/svc_run.c
index d2c06b895..5ec4715bd 100644
--- a/libc/inet/rpc/svc_run.c
+++ b/libc/inet/rpc/svc_run.c
@@ -31,13 +31,6 @@
* Wait for input, call server program.
*/
-#define svc_getreq_poll __svc_getreq_poll
-#define poll __poll
-
-/* used by svc_[max_]pollfd */
-#define __rpc_thread_svc_pollfd __rpc_thread_svc_pollfd_internal
-#define __rpc_thread_svc_max_pollfd __rpc_thread_svc_max_pollfd_internal
-
#define __FORCE_GLIBC
#define _GNU_SOURCE
#include <features.h>
@@ -47,6 +40,13 @@
#include <sys/poll.h>
#include <rpc/rpc.h>
+libc_hidden_proto(perror)
+libc_hidden_proto(svc_getreq_poll)
+libc_hidden_proto(poll)
+/* used by svc_[max_]pollfd */
+libc_hidden_proto(__rpc_thread_svc_pollfd)
+libc_hidden_proto(__rpc_thread_svc_max_pollfd)
+
/* This function can be used as a signal handler to terminate the
server loop. */
void
@@ -83,7 +83,7 @@ svc_run (void)
free (my_pollfd);
if (errno == EINTR)
continue;
- __perror (_("svc_run: - poll failed"));
+ perror (_("svc_run: - poll failed"));
return;
case 0:
free (my_pollfd);