OSDN Git Service

hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing...
[uclinux-h8/uClibc.git] / libc / inet / rpc / svc_run.c
index d2c06b8..5ec4715 100644 (file)
  * 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>
 #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);