summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen
diff options
context:
space:
mode:
authorweingart <weingart@openbsd.org>2007-10-03 15:12:13 +0000
committerweingart <weingart@openbsd.org>2007-10-03 15:12:13 +0000
commit3ea79691f93b1886227a4d722bc78f5da4a8f800 (patch)
treeca0ccd4fbf315268584b66b3a65cb58ebd8d9af6 /usr.bin/rpcgen
parentNuke MSDOS portion. Add <unistd.h> for STDERR_FILENO in the (diff)
downloadwireguard-openbsd-3ea79691f93b1886227a4d722bc78f5da4a8f800.tar.xz
wireguard-openbsd-3ea79691f93b1886227a4d722bc78f5da4a8f800.zip
nullproc() is used in more than one file.
millert@ ok
Diffstat (limited to 'usr.bin/rpcgen')
-rw-r--r--usr.bin/rpcgen/rpc_svcout.c3
-rw-r--r--usr.bin/rpcgen/rpc_util.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/rpcgen/rpc_svcout.c b/usr.bin/rpcgen/rpc_svcout.c
index a543cd397b4..016b09befd4 100644
--- a/usr.bin/rpcgen/rpc_svcout.c
+++ b/usr.bin/rpcgen/rpc_svcout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc_svcout.c,v 1.23 2007/10/03 14:35:48 weingart Exp $ */
+/* $OpenBSD: rpc_svcout.c,v 1.24 2007/10/03 15:12:13 weingart Exp $ */
/* $NetBSD: rpc_svcout.c,v 1.7 1995/06/24 14:59:59 pk Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -66,7 +66,6 @@ static void write_caller_func(void);
static void write_rpc_svc_fg(char *, char *);
static void write_msg_out(void);
static void open_log_file(char *, char *);
-int nullproc(proc_list *proc);
static void
p_xdrfunc(char *rname, char *typename)
diff --git a/usr.bin/rpcgen/rpc_util.h b/usr.bin/rpcgen/rpc_util.h
index f3ced319f1e..8f7c01bea79 100644
--- a/usr.bin/rpcgen/rpc_util.h
+++ b/usr.bin/rpcgen/rpc_util.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc_util.h,v 1.13 2003/07/09 03:35:21 deraadt Exp $ */
+/* $OpenBSD: rpc_util.h,v 1.14 2007/10/03 15:12:13 weingart Exp $ */
/* $NetBSD: rpc_util.h,v 1.3 1995/06/11 21:50:10 pk Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -136,6 +136,8 @@ void write_svc_aux(int);
void write_inetd_register(char *);
void write_netid_register(char *);
void write_nettype_register(char *);
+int nullproc(proc_list *);
+
/*
* rpc_clntout routines
*/