summaryrefslogtreecommitdiff
path: root/usr.sbin/ypldap/ypldap.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-01-27 07:21:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-01-27 07:21:56 +0000
commit058fa07b32a9294e257b197c7c6be77a43bb6a52 (patch)
tree4c4002309f164f61922238249c6094887066cd02 /usr.sbin/ypldap/ypldap.c
parent6e9a6c5cd0117b0cecf54fc9e3fe849a80ca3844 (diff)
these programs (with common ancestry) had a -fno-common problem related
to privsep_procid. ok mortimer
Diffstat (limited to 'usr.sbin/ypldap/ypldap.c')
-rw-r--r--usr.sbin/ypldap/ypldap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ypldap/ypldap.c b/usr.sbin/ypldap/ypldap.c
index aa7bc6fe9c9..1ee6b516442 100644
--- a/usr.sbin/ypldap/ypldap.c
+++ b/usr.sbin/ypldap/ypldap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypldap.c,v 1.21 2017/01/20 12:39:36 benno Exp $ */
+/* $OpenBSD: ypldap.c,v 1.22 2021/01/27 07:21:55 deraadt Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -59,6 +59,8 @@ pid_t client_pid = 0;
char *conffile = YPLDAP_CONF_FILE;
int opts = 0;
+enum privsep_procid ypldap_process;
+
void
usage(void)
{