aboutsummaryrefslogtreecommitdiff
path: root/libexec/ypxfr
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2015-07-28 02:32:40 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2015-07-28 02:32:40 +0000
commit033af09de113cdcba4b72685dd5311fffb1025c5 (patch)
tree474a3116b16d6874dad78ef520947dc99f16dd88 /libexec/ypxfr
parent267dbe63a1dfb8e05eae5f1fad1ed7cc5f7b4b27 (diff)
downloadsrc-033af09de113cdcba4b72685dd5311fffb1025c5.tar.gz
src-033af09de113cdcba4b72685dd5311fffb1025c5.zip
Notes
Diffstat (limited to 'libexec/ypxfr')
-rw-r--r--libexec/ypxfr/ypxfr_getmap.c4
-rw-r--r--libexec/ypxfr/ypxfr_main.c12
-rw-r--r--libexec/ypxfr/ypxfrd_getmap.c2
3 files changed, 9 insertions, 9 deletions
diff --git a/libexec/ypxfr/ypxfr_getmap.c b/libexec/ypxfr/ypxfr_getmap.c
index 4b8794f317e7..458971f893c5 100644
--- a/libexec/ypxfr/ypxfr_getmap.c
+++ b/libexec/ypxfr/ypxfr_getmap.c
@@ -43,8 +43,8 @@ __FBSDID("$FreeBSD$");
extern bool_t xdr_ypresp_all_seq(XDR *, unsigned long *);
-int (*ypresp_allfn)();
-void *ypresp_data;
+static int (*ypresp_allfn)();
+static void *ypresp_data;
extern DB *specdbp;
extern enum ypstat yp_errno;
diff --git a/libexec/ypxfr/ypxfr_main.c b/libexec/ypxfr/ypxfr_main.c
index 03a30f6307c8..03ebbe12fcaf 100644
--- a/libexec/ypxfr/ypxfr_main.c
+++ b/libexec/ypxfr/ypxfr_main.c
@@ -54,12 +54,12 @@ __FBSDID("$FreeBSD$");
char *progname = "ypxfr";
char *yp_dir = _PATH_YP;
int _rpcpmstart = 0;
-int ypxfr_use_yplib = 0; /* Assume the worst. */
-int ypxfr_clear = 1;
-int ypxfr_prognum = 0;
-struct sockaddr_in ypxfr_callback_addr;
-struct yppushresp_xfr ypxfr_resp;
-DB *dbp;
+static int ypxfr_use_yplib = 0; /* Assume the worst. */
+static int ypxfr_clear = 1;
+static int ypxfr_prognum = 0;
+static struct sockaddr_in ypxfr_callback_addr;
+static struct yppushresp_xfr ypxfr_resp;
+static DB *dbp;
static void
ypxfr_exit(ypxfrstat retval, char *temp)
diff --git a/libexec/ypxfr/ypxfrd_getmap.c b/libexec/ypxfr/ypxfrd_getmap.c
index b1424ac552fc..a5ac92da578d 100644
--- a/libexec/ypxfr/ypxfrd_getmap.c
+++ b/libexec/ypxfr/ypxfrd_getmap.c
@@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include "ypxfr_extern.h"
-int fp = 0;
+static int fp = 0;
static bool_t
xdr_my_xfr(register XDR *xdrs, xfr *objp)