summaryrefslogtreecommitdiffstats
path: root/lib/bind/port_before.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bind/port_before.h.in')
-rw-r--r--lib/bind/port_before.h.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/bind/port_before.h.in b/lib/bind/port_before.h.in
index 1f6ff1a..eb0c3fc 100644
--- a/lib/bind/port_before.h.in
+++ b/lib/bind/port_before.h.in
@@ -2,6 +2,10 @@
#define port_before_h
#include <config.h>
+#ifdef NEED_SUN4PROTOS
+#define _PARAMS(x) x
+#endif
+
struct group; /* silence warning */
struct passwd; /* silence warning */
struct timeval; /* silence warning */
@@ -81,15 +85,22 @@ struct timespec {
@NGR_R_BAD@
@NGR_R_COPY@
@NGR_R_COPY_ARGS@
+@NGR_R_CONST@
@NGR_R_END_RESULT@
@NGR_R_END_RETURN@
-@NGR_R_ENT_ARGS@
+@NGR_R_END_ARGS@
@NGR_R_OK@
@NGR_R_RETURN@
+@NGR_R_SET_CONST@
@NGR_R_SET_RESULT@
@NGR_R_SET_RETURN@
+@NGR_R_SET_ARGS@
@NGR_R_PRIVATE@
+#if !defined(NGR_R_SET_ARGS) && defined(NGR_R_END_ARGS)
+#define NGR_R_SET_ARGS NGR_R_END_ARGS
+#endif
+
@PROTO_R_ARGS@
@PROTO_R_BAD@
@PROTO_R_COPY@
OpenPOWER on IntegriCloud