From nobody Thu Nov 07 05:20:32 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 4XkVlP1ld0z5cNG5; Thu, 07 Nov 2024 05:20:33 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XkVlN6Zn7z54xG; Thu, 7 Nov 2024 05:20:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730956832; 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=Wo2Zy5Lb/axQYVFQ9RqZ60FaMgkpbNEb8/nP755vejg=; b=KsMxvik1p9QVKHQeQPNFHmcW1EUvsTzOo1Ezj+OqPFfiRj17WgT/4gh74mYbO9r+i+GPRq FfCzpqm04p2Lpurziz/qWxGOpWOwdHJJrXyhbTpBdzuZAkGeidBjwkKTfM25YN16TD9A4N +1YRa2X4gPhU5tXfctvXxdCJVH2QSieO3z6Y5S2HuFVbfF30c5Gn48ie7KDmcPEOcoD9JL tfOGYdHihv7vA+dm3x5IYbQskEKXDgqIC6iopkkABJdpF54R25eENnwmAUM62iAUg6wT0N ipnablSXR2c2WmEQAD25x6/Y6DLPro1sd97ly1+wxvMJ6pvy1Kmp9asAwLDjYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730956832; 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=Wo2Zy5Lb/axQYVFQ9RqZ60FaMgkpbNEb8/nP755vejg=; b=Jriw1MBLYfgWcn69Pb9JNi5UGEG8OMliLpy+RBblHjMtCZh0+O1dqa2tjFpIe5eNFE9IKz DpPyfB73h3mt/Z1G/GsCtwSqAhfSSRtRc+hEdXcadfT7D8qOZDEWXwZ9g+OsUZmXtDQGMC AA4BIFkAoChJLDVv+ajAGLwK7+54sr9JjbarjOCze20ry/R1F4K02EO9K/tdzf0tcpNg/+ ZrSVaMYGICc4EtIdLKlR9ZammBDTmOfYgX/dgqzjUc0vMDtmtQSWgZu17NnTyK7j/fj8Zd c5AOTYqqKF6pRQ1XfGiP12t7DTFCAkc4BM2oN+B5e33vxv2oh1US3OcJd5g6dQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730956832; a=rsa-sha256; cv=none; b=a7brGhGOXDoplHIN7/7nOh2x3mXdj0JEem5QpYWF79S9GtfJLUjfiqViA4sZHyTgWwKWec sr1PQKOSWxktCBclpnouDHpHbsyXNacWtzHpOsWIhnpf05jB5vdphMZ3NxPw6/o4ogfnkz +ov7baEEauM7SIs4tftTFql5dLG0FrWI5y4BfqEu1sbv7Z6zJ/vmjVAD/rkvvFRUmA0DvO Kw8yXq7LxGIegmx484j1W0etiF0VaaqkiIYk6ghqXlxMVqq9niWdQkvuMMAikVgCpNnArL qKLllMVZUgGi6HRCsJhY/hN4wlTTkS0XFYp+kQoE9/S9OuLRSfE/o5fvxC/GCA== 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 4XkVlN5WK3zY5c; Thu, 7 Nov 2024 05:20:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A75KWvO014393; Thu, 7 Nov 2024 05:20:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A75KWd7014390; Thu, 7 Nov 2024 05:20:32 GMT (envelope-from git) Date: Thu, 7 Nov 2024 05:20:32 GMT Message-Id: <202411070520.4A75KWd7014390@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 7cd3e2696ca3 - main - sys/link_elf.h: remove extern linkage specifier from dl_iterate_phdr() prototype 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7cd3e2696ca357630ff591959956295da9abbe2d Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7cd3e2696ca357630ff591959956295da9abbe2d commit 7cd3e2696ca357630ff591959956295da9abbe2d Author: Konstantin Belousov AuthorDate: 2024-10-31 05:55:43 +0000 Commit: Konstantin Belousov CommitDate: 2024-11-07 05:14:38 +0000 sys/link_elf.h: remove extern linkage specifier from dl_iterate_phdr() prototype Reviewed by: brooks Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D47351 --- sys/sys/link_elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h index 9752bdff55dc..7b51b3e87d1d 100644 --- a/sys/sys/link_elf.h +++ b/sys/sys/link_elf.h @@ -93,7 +93,7 @@ struct dl_phdr_info __BEGIN_DECLS typedef int (*__dl_iterate_hdr_callback)(struct dl_phdr_info *, size_t, void *); -extern int dl_iterate_phdr(__dl_iterate_hdr_callback, void *); +int dl_iterate_phdr(__dl_iterate_hdr_callback, void *); int _rtld_addr_phdr(const void *, struct dl_phdr_info *); int _rtld_get_stack_prot(void); int _rtld_is_dlopened(void *);