From nobody Wed Apr 19 17:53:33 2023 X-Original-To: dev-commits-src-all@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 4Q1pLQ0wXYz46GCd; Wed, 19 Apr 2023 17:53:34 +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 4Q1pLP36L4z49Yq; Wed, 19 Apr 2023 17:53:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681926813; 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=6+U9qfoBYplgFE7JWlibjCzaRW4xUBtovfRr0vsh+KM=; b=rfM4n26sWPK1yTOOL6WkhdKb+09CJJwGJxDZ0fWTxixVUrC24MwV7yCPp8gOJzRPffnJA2 EckZEqM0Fejsc31A2a/twASDOXzVw1Ds6YhZcFFgkvpdYmKi4k+l9hYq/7crD8k6SVGp45 Z+EjPWkLR5RoGqlnEU3ykdUYKtxW3O5nGXn6E+eGjo7o/Ok5MWsmmBYbga0IsdPqonVC44 jFoyMp+SPGR91sNIgW83l7lWY6yN+3XDW7WyfeaJ7Ge72t36kkct9cQrtFJu6oemU8eHEr kfosyi+86M82nDiySFI1a3XeHQSfuyxfU8Q7Spbg7UsLL1SUKqAuE7UwA3priw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681926813; 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=6+U9qfoBYplgFE7JWlibjCzaRW4xUBtovfRr0vsh+KM=; b=OViqjCRc0bF41g7xydIhpmfwR8sNh4agVUY+zjxfyauiq/5iELQVij/LiiELD53iu2TIda ZlX3GMiGJ9T6q7VfcO3wGHMbPfeB0F2vkLyrai7pjvwpaLjNAjFq7AmfNz69AqwoMKydSN Q3JDp9EWp3hg1YT71aEUjU8wJeg2Ny3td31i5j/gVAb5CRVGFF0NID5VYu7kDHV9szIsZl zX7HcLoiwH3nJ+JT57M6UO4AhMvrFWK07n6ofjKH0ZPLZVbKJaSJjqi8w4gEI2qOe+bESI GE6W4zb+hRDWoI0vt74J3ehD2JnQuOBHap1w9XtNq5XT1SyQfN1vUminI7laEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681926813; a=rsa-sha256; cv=none; b=R11NLUHU56oFn6ZNC8z79m5s7bvkG7syQmsQXWIUquu7VmhwlOnqBQnEWa8BIYwkLgK5QO d88CeTvbNwYjPZE/qhPaA1bL6hMJuJzfRmadsVZifoCJOT30RPRXm2WTOi9e7UQ3ByCUrB FFSrOmm960OtAZIJL2a31EWFzCUssfYWDOBTm1rdYgqF0ZDUUjkJxSBx2EuJoWCfPomM+B miopyQ8cF/PVIThPdKvOKvtp4L2gDFiCiHiiOTURLq2EIRymlxuCVvfgrbQ8coeluT+3O6 JiqdE5sie87C1G6yUB/GLLfNAqeHb0gHW4LBbr76HmoBN8GxYcukRplkoCohZQ== 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 4Q1pLP21y1z14Cb; Wed, 19 Apr 2023 17:53:33 +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 33JHrXmf037652; Wed, 19 Apr 2023 17:53:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33JHrXNK037651; Wed, 19 Apr 2023 17:53:33 GMT (envelope-from git) Date: Wed, 19 Apr 2023 17:53:33 GMT Message-Id: <202304191753.33JHrXNK037651@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 010795fc824c - main - libz: Move NO_WDEPRECATED_NON_PROTOTYPE below include of bsd.lib.mk. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 010795fc824c4a763d26a2137c30a61d501f8177 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=010795fc824c4a763d26a2137c30a61d501f8177 commit 010795fc824c4a763d26a2137c30a61d501f8177 Author: John Baldwin AuthorDate: 2023-04-19 17:53:02 +0000 Commit: John Baldwin CommitDate: 2023-04-19 17:53:02 +0000 libz: Move NO_WDEPRECATED_NON_PROTOTYPE below include of bsd.lib.mk. Also add it to CWARNFLAGS rather than CFLAGS. --- lib/libz/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libz/Makefile b/lib/libz/Makefile index 4a6e3c91a828..abc490980deb 100644 --- a/lib/libz/Makefile +++ b/lib/libz/Makefile @@ -53,7 +53,6 @@ CFLAGS+= -DUNALIGNED_OK VERSION_DEF= ${.CURDIR}/Versions.def SYMBOL_MAPS= ${.CURDIR}/Symbol.map CFLAGS+= -DSYMBOL_VERSIONING -CFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE} INCS= zconf.h zlib.h @@ -84,3 +83,5 @@ test: example minigzip PCFILES= zlib.pc .include + +CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}