Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/rpc.bootparamd _rpcpmstart is defined by rpcgen, so...



details:   https://anonhg.NetBSD.org/src/rev/955e75cffbea
branches:  trunk
changeset: 971372:955e75cffbea
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Apr 22 23:47:02 2020 +0000

description:
_rpcpmstart is defined by rpcgen, so externalize it here

diffstat:

 usr.sbin/rpc.bootparamd/bootparamd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2a431dfbe792 -r 955e75cffbea usr.sbin/rpc.bootparamd/bootparamd.c
--- a/usr.sbin/rpc.bootparamd/bootparamd.c      Wed Apr 22 23:46:02 2020 +0000
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c      Wed Apr 22 23:47:02 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootparamd.c,v 1.47 2019/08/15 08:34:19 kamil Exp $    */
+/*     $NetBSD: bootparamd.c,v 1.48 2020/04/22 23:47:02 joerg Exp $    */
 
 /*
  * This code is not copyright, and is placed in the public domain.
@@ -11,7 +11,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: bootparamd.c,v 1.47 2019/08/15 08:34:19 kamil Exp $");
+__RCSID("$NetBSD: bootparamd.c,v 1.48 2020/04/22 23:47:02 joerg Exp $");
 #endif
 
 #include <sys/types.h>
@@ -56,7 +56,7 @@
 extern void bootparamprog_1(struct svc_req *, SVCXPRT *);
 
 extern int     _rpcsvcdirty;
-int    _rpcpmstart = 0;
+extern int     _rpcpmstart;
 int     debug = 0;
 int     dolog = 0;
 struct in_addr route_addr;



Home | Main Index | Thread Index | Old Index