From nobody Tue Mar 22 18:53:56 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C94C01A2B81A; Tue, 22 Mar 2022 18:53:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KNLHT18Hcz3tVY; Tue, 22 Mar 2022 18:53:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647975237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=APlvhZKhl0gVROJfRndZYBs+n5O8leDFYOW0MylTqM0=; b=OsxwQjO+CxlNy6/3qnK0qCXVeEZ9HHiUyGvITxBHt62zfofmoiS6YNp8aqHgPFk0VG64yQ rKAR3phRIdzoiN9GoSva4NRVC4QL8J4VpsUhrIH6TW/q6fhgt1j6rzXCsv3XAdJPUG0kfJ OYNnjt09wJIafK2hXeOdyU82TPEzC/1+Y/GZdXwy+2jcjsVgDisA/C4I17WSr70483+FxD jkY80Gw+YAxszxxP23Y6wGjFed9XIdS84K6b5lihFS8L+9N+ajhOjxah9Rxmnrq/jUPNEm a5itk0/tu2IRzuUEt6O60eR0XITEUfNkxMxNjehy1XMFmciW7gv5rQK1Hz4WHA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8C2EB14EB3; Tue, 22 Mar 2022 18:53:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22MIruHW099808; Tue, 22 Mar 2022 18:53:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22MIruEC099807; Tue, 22 Mar 2022 18:53:56 GMT (envelope-from git) Date: Tue, 22 Mar 2022 18:53:56 GMT Message-Id: <202203221853.22MIruEC099807@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Piotr Pawel Stefaniak Subject: git: e0414a826c21 - stable/13 - tcp_wrappers: remove duplicate errno declarations List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pstef X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e0414a826c21210045a5441282cab07aec89bace Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647975237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=APlvhZKhl0gVROJfRndZYBs+n5O8leDFYOW0MylTqM0=; b=kUPehFfVxrERd/4nNnprvEWBIXf0uG2BIUEI4Vw1FbKS6KJMU+APt/zf+m1dJT9u3HsY24 f03Vo2lPADyhWWr/qYQITlgmoAuv6q6+YzkcsUt9lerqtMLKG57u1/M6iiWInmpy2d5chd M+1x9fGygClJ7FS+slyKXKIMCv406yiEX0E568BU56A8Tg01bVSU6COP5nCaJhZKm0E+lb QuVvcsj5XkoK3qP5PQISOywsCOZaBsaC1B2D8Sm0wvvAgZ4rl0Q0XVglLcWN6oFkaY9jS5 an4allKsjSA0IvpGCSmaEEKDgAFyjfz1h3jsO8HYUw+a0p4qNmodNV2O1Ba2HQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647975237; a=rsa-sha256; cv=none; b=lz8+oWs1hWSI2OD7LAac4iaTLuBA5vRPjUepKtuE/LywSQUDEm4RqPV7rMTAkOkTUDEpjG WUrajXg7rzHjXm1EoGjw1Dvh2/SI70tpVglbZtzNa7qZc+FUCeYJ8bu5J3t95o8PrFSxYM R/Q71HWmrUYqUN5NNUPnUNm7GDqJB5EVI/WDEDyyafE72xsEwtcl7igQ4phklXHXia6avG VS+WUr6pknWMyVYdwhW1vqdRNzxLZi/yVnBUqUTxYydMAErbOkdi0mcFoHVdTpMu+/RFHe FdLy4L98nz4EIbyTqc4oIDJBpUWzVpVM8xuaVXEZ7K/ztc/lbb9pGjNiEVr0ZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by pstef: URL: https://cgit.FreeBSD.org/src/commit/?id=e0414a826c21210045a5441282cab07aec89bace commit e0414a826c21210045a5441282cab07aec89bace Author: Piotr Pawel Stefaniak AuthorDate: 2022-02-13 18:19:25 +0000 Commit: Piotr Pawel Stefaniak CommitDate: 2022-03-22 18:33:33 +0000 tcp_wrappers: remove duplicate errno declarations (cherry picked from commit 9b6a8ee28d612c43c232fce3493ae0efef613ddb) --- contrib/tcp_wrappers/hosts_access.c | 2 -- contrib/tcp_wrappers/percent_m.c | 1 - contrib/tcp_wrappers/tli-sequent.c | 1 - contrib/tcp_wrappers/tli.c | 1 - contrib/tcp_wrappers/workarounds.c | 2 -- 5 files changed, 7 deletions(-) diff --git a/contrib/tcp_wrappers/hosts_access.c b/contrib/tcp_wrappers/hosts_access.c index 58998055b516..140225fabace 100644 --- a/contrib/tcp_wrappers/hosts_access.c +++ b/contrib/tcp_wrappers/hosts_access.c @@ -46,8 +46,6 @@ static char sccsid[] = "@(#) hosts_access.c 1.21 97/02/12 02:13:22"; #endif #include -extern int errno; - #ifndef INADDR_NONE #define INADDR_NONE (-1) /* XXX should be 0xffffffff */ #endif diff --git a/contrib/tcp_wrappers/percent_m.c b/contrib/tcp_wrappers/percent_m.c index bb11b22dd81f..1019b82d8c36 100644 --- a/contrib/tcp_wrappers/percent_m.c +++ b/contrib/tcp_wrappers/percent_m.c @@ -12,7 +12,6 @@ static char sccsid[] = "@(#) percent_m.c 1.1 94/12/28 17:42:37"; #include #include -extern int errno; #ifndef SYS_ERRLIST_DEFINED extern char *sys_errlist[]; extern int sys_nerr; diff --git a/contrib/tcp_wrappers/tli-sequent.c b/contrib/tcp_wrappers/tli-sequent.c index 8858966876a4..c0ad75685f4c 100644 --- a/contrib/tcp_wrappers/tli-sequent.c +++ b/contrib/tcp_wrappers/tli-sequent.c @@ -30,7 +30,6 @@ static char sccsid[] = "@(#) tli-sequent.c 1.1 94/12/28 17:42:51"; #include #include -extern int errno; extern char *sys_errlist[]; extern int sys_nerr; extern int t_errno; diff --git a/contrib/tcp_wrappers/tli.c b/contrib/tcp_wrappers/tli.c index 36d6f7eff398..d05f1156b0fb 100644 --- a/contrib/tcp_wrappers/tli.c +++ b/contrib/tcp_wrappers/tli.c @@ -41,7 +41,6 @@ static char sccsid[] = "@(#) tli.c 1.15 97/03/21 19:27:25"; #include extern char *nc_sperror(); -extern int errno; extern char *sys_errlist[]; extern int sys_nerr; extern int t_errno; diff --git a/contrib/tcp_wrappers/workarounds.c b/contrib/tcp_wrappers/workarounds.c index 3d4e9e6783d1..38e653993f40 100644 --- a/contrib/tcp_wrappers/workarounds.c +++ b/contrib/tcp_wrappers/workarounds.c @@ -27,8 +27,6 @@ char sccsid[] = "@(#) workarounds.c 1.6 96/03/19 16:22:25"; #include #endif -extern int errno; - #include "tcpd.h" /*