From: deraadt Date: Mon, 18 Jul 2022 02:32:11 +0000 (+0000) Subject: ypbinding should not be intrude to application namespace. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f4c33f5485c5e8e0019f85179d76dd8d5065be95;p=openbsd ypbinding should not be intrude to application namespace. spotted by guenther --- diff --git a/lib/libc/yp/yp_bind.c b/lib/libc/yp/yp_bind.c index 411726cd29b..7889e8451ef 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.29 2022/07/17 03:08:58 deraadt Exp $ */ +/* $OpenBSD: yp_bind.c,v 1.30 2022/07/18 02:32:11 deraadt Exp $ */ /* * Copyright (c) 1992, 1993, 1996 Theo de Raadt * All rights reserved. @@ -43,7 +43,7 @@ #include #include "ypinternal.h" -struct dom_binding *ypbinding; +static struct dom_binding *ypbinding; char _yp_domain[HOST_NAME_MAX+1]; int _yplib_timeout = 10;