summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/yp/yp_bind.c3
-rw-r--r--lib/libc/yp/ypinternal.h7
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/yp/yp_bind.c b/lib/libc/yp/yp_bind.c
index f81974e6f2e..48c639739e3 100644
--- a/lib/libc/yp/yp_bind.c
+++ b/lib/libc/yp/yp_bind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yp_bind.c,v 1.26 2015/11/26 07:26:50 deraadt Exp $ */
+/* $OpenBSD: yp_bind.c,v 1.27 2016/05/29 22:42:24 guenther Exp $ */
/*
* Copyright (c) 1992, 1993, 1996 Theo de Raadt <deraadt@theos.com>
* All rights reserved.
@@ -257,7 +257,6 @@ _yp_unbind(struct dom_binding *ypb)
ypb->dom_client = NULL;
ypb->dom_socket = -1;
}
-DEF_WEAK(_yp_unbind);
int
yp_bind(const char *dom)
diff --git a/lib/libc/yp/ypinternal.h b/lib/libc/yp/ypinternal.h
index ea2c6415c8c..8021a84e5a9 100644
--- a/lib/libc/yp/ypinternal.h
+++ b/lib/libc/yp/ypinternal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypinternal.h,v 1.10 2015/09/14 12:09:35 guenther Exp $ */
+/* $OpenBSD: ypinternal.h,v 1.11 2016/05/29 22:42:24 guenther Exp $ */
/*
* Copyright (c) 1992, 1993, 1996 Theo de Raadt <deraadt@theos.com>
@@ -44,12 +44,13 @@ struct dom_binding {
#define BINDINGDIR "/var/yp/binding"
#define YPBINDLOCK "/var/run/ypbind.lock"
+__BEGIN_HIDDEN_DECLS
extern struct dom_binding *_ypbindlist;
extern char _yp_domain[HOST_NAME_MAX+1];
extern int _yplib_timeout;
void _yp_unbind(struct dom_binding *);
+__END_HIDDEN_DECLS
+
int _yp_check(char **);
-PROTO_NORMAL(_yp_unbind);
PROTO_NORMAL(_yp_check);
-