From nobody Fri Feb 09 15:04:21 2024 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 4TWcZY58g7z59qRs; Fri, 9 Feb 2024 15:04:21 +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 4TWcZY4NL4z4FjR; Fri, 9 Feb 2024 15:04:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707491061; 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=lixe3ObWTWVpTQTGMnZT8GUZfBknVZ4Pz/ezmJfsVOs=; b=s2pUewkP+fec0ZeGENdyA4YRPpCkS81xgfSt4B4S3TLbYblOoiWiykgN8mD1fVP525BlqR JdufBoHoUZnBYBOfS7pCQ3cu0SVvGXVtAPIv99Rg1963Ekw4+quRN+b4+hCF4ou2HCOooi 6jla3HPlsZ4ZqK8Inqpj9jTFzsagGmylS1cY8nQtFENzYw+Ez54cxFsH20KoRYIOlTRSEL qA1Diso9rRYoIG6rs++FTY/v8+5IYBOyNPrl9ttpUhWO/hEKriOPI7+rv6DJOBaywKluis 4GetHrsRlCm5JkoDAnU+dpveTNHIqR0MCxJfcBjkEHxUNZYGyxjwzoApevTWXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707491061; 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=lixe3ObWTWVpTQTGMnZT8GUZfBknVZ4Pz/ezmJfsVOs=; b=uWK8o9/7rK0yiNn1JBul/7Hn3KnclMGes6oz1rplJurVh+1flpJGCBYw2kvF1swospauNv BQEom45xXbJyvDsCGikYHAOp+1Tpf3temxyeDqQm50DTr1smtMSxMNvsA8Vy4gR88enVyb Cc6JHPt6apwKJKgEdodEKFzc7NyO2WVmu4gScAFbLTRCtGt0oJkPn5amMu35UYXScisEBA qEntNYFiWYER/vCAFzuRQ9ttXbdGS/7CjiwY2kY/NYFfbp0Ef+GnoMJbYQT7tlxyydjnFP xxpdWN7mlC7iutZ1JlxHeHnIzyRS6zaJ8m9T5E7wqkwqxCqRmnZ6SjTjanm/fA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707491061; a=rsa-sha256; cv=none; b=Of4RropgsAoYfZJVE9VI+aopodH3UkkKS3odq45KRtemTsk/lW2aFVR2rp3zqhJJwB0Vjv J/PbqqoFWBk4BOKCg0cdZcegJ9VjNXg8g7AbqgKvGeaA24d2X91QqLyCFlqZe/y3veQyoH 8H2R4V/bWQv+wPdgtEe4/8lGrS3Kn85QPn2jkihOVavYsKUTlDtbZ67Q+5GO1W+dif6DRg zhiDy96E0FvDSO5zetLA876uDF4L1JjiBEpaFpAzX2EHUq7yQsOAAaG1sKIWPwIe3UA3DH FxQSZVSoBAo25Z058UkVPnVoIbB8fwoOoHeIdrThc+D3xrMMKaybTrlCJnJLhg== 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 4TWcZY3QYNzdBB; Fri, 9 Feb 2024 15:04:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 419F4LRn085297; Fri, 9 Feb 2024 15:04:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 419F4LPM085294; Fri, 9 Feb 2024 15:04:21 GMT (envelope-from git) Date: Fri, 9 Feb 2024 15:04:21 GMT Message-Id: <202402091504.419F4LPM085294@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 324e9141068d - stable/14 - libc: Annotate a couple of local functions as such 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 324e9141068dbad8e794dc95e850c9ef982c0870 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=324e9141068dbad8e794dc95e850c9ef982c0870 commit 324e9141068dbad8e794dc95e850c9ef982c0870 Author: Mark Johnston AuthorDate: 2024-01-29 16:43:50 +0000 Commit: Mark Johnston CommitDate: 2024-02-09 14:55:45 +0000 libc: Annotate a couple of local functions as such No functional change intended. MFC after: 1 week (cherry picked from commit 8d5353de74471038bd75a6cb39bf58f50a600642) --- lib/libc/net/getservent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/net/getservent.c b/lib/libc/net/getservent.c index 8b341b5a1833..3739cf548828 100644 --- a/lib/libc/net/getservent.c +++ b/lib/libc/net/getservent.c @@ -940,7 +940,7 @@ fin: return (res); } -int +static int serv_marshal_func(char *buffer, size_t *buffer_size, void *retval, va_list ap, void *cache_mdata) { @@ -1041,7 +1041,7 @@ serv_marshal_func(char *buffer, size_t *buffer_size, void *retval, va_list ap, return (NS_SUCCESS); } -int +static int serv_unmarshal_func(char *buffer, size_t buffer_size, void *retval, va_list ap, void *cache_mdata) {