From nobody Mon Jan 29 16:51:09 2024 X-Original-To: dev-commits-src-main@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 4TNvSs6d3Mz5924N; Mon, 29 Jan 2024 16:51:09 +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 4TNvSs66mFz4r5c; Mon, 29 Jan 2024 16:51:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706547069; 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=GwTb7pJH/VV9q5gZdKXCg4vCDZKJpSxpoRmJmgsmNGI=; b=FJBR6L63cwAH2lQoWtlLQc9H4hu0yoSpVD/lhw4mYNgvGVupO4cqtPp4oWJCwUjKUvWgCE 8ot95tP8ugG8lX/jTicais+Ps7KcrEsndO8xn+JV28xaPMDQey575CZmYWRZq3uUQO+z6U RDiMdVWUwrcF0k2QgUJUwMORfIVajh61Y2kCrKFWIN45GExU+T7usVmoN0kGQ+7oJN9yS8 MvIKgCG1rQIY2rtOMtrCd+QwsMW2lIVe9UbOzETw0gIxKbOWQPrOsgeYbpOR/2rPehCf5h N8uXxhTxJ9SXcfWjzLK5mF9AKBJZgeyhaT/FoXbv9LmYcqtEWFIwvBMZOPogrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706547069; 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=GwTb7pJH/VV9q5gZdKXCg4vCDZKJpSxpoRmJmgsmNGI=; b=mESe3PBMipoepUvnI7od5D/DTs8CJd3XLTIpCFLa7bqpz0mRdsfzqqywYpcgDE0g9Mnwiz PEPVOFUcpBHkVljJawaDqfAiCwpaTCb9yR6DwBrhax8mYdI8aD275lODFmxILRn5uzD5Rb bpfKP+/5Nw7dKvyIsXxvRPmdLUkfOx3uo/44EfxXupsKrsmqJ4gnD7xjO+61XoRms4Y/Kv ogEGPTazYSA9ozAqAXv9erOfmr8oh4HF3I+PaPALlPo6Xt59vEP6fkZWRBNF7/o4Y36oxC 8j9H8wO8MoNnKHum6PA2Wuia7b8PR+3AxuX1oGdyWNI4TmfaA3ioaXoJzg8P+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706547069; a=rsa-sha256; cv=none; b=JDEy4jcR+lqHTMBfgJrN2envOVe4mq0kDDl4j6NGYTgCl88EfSmv0vg3YpU+/EJ3o4hC/2 Qjk7GWHap6tacMCZk2AI7mDWu3pDjLb6LPTzykd3UyCQfjs+xx/bikpk4ZXD4GnJNG4AvG 2GJ4BSHBfzb7v9j8io60K7hgK5uXrjwHfQlP6uAuuMo0XHCqHY75mpXBzJQL5IeYmZydL/ DB6qEca2y8UthD8Sp1TEfucTMReg3IYMU3FgPVzoTBEa+k5vsFi4ZSXSDMvvqzKeQn2Hoz RwkQ5n3qnKqw1YZ0dsHjo1hxdV3IBSPbxVqk/7tm3X618NrFUjl43sxbl3aEQw== 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 4TNvSs59LKz10Bp; Mon, 29 Jan 2024 16:51:09 +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 40TGp91X030584; Mon, 29 Jan 2024 16:51:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40TGp9Pm030581; Mon, 29 Jan 2024 16:51:09 GMT (envelope-from git) Date: Mon, 29 Jan 2024 16:51:09 GMT Message-Id: <202401291651.40TGp9Pm030581@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 8d5353de7447 - main - libc: Annotate a couple of local functions as such List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 8d5353de74471038bd75a6cb39bf58f50a600642 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=8d5353de74471038bd75a6cb39bf58f50a600642 commit 8d5353de74471038bd75a6cb39bf58f50a600642 Author: Mark Johnston AuthorDate: 2024-01-29 16:43:50 +0000 Commit: Mark Johnston CommitDate: 2024-01-29 16:44:36 +0000 libc: Annotate a couple of local functions as such No functional change intended. MFC after: 1 week --- 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 51fc70658205..26f68f24cc78 100644 --- a/lib/libc/net/getservent.c +++ b/lib/libc/net/getservent.c @@ -937,7 +937,7 @@ fin: return (res); } -int +static int serv_marshal_func(char *buffer, size_t *buffer_size, void *retval, va_list ap, void *cache_mdata) { @@ -1038,7 +1038,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) {