From nobody Fri Sep 16 17:42:15 2022 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 4MThGb5GRyz4cgG0; Fri, 16 Sep 2022 17:42:15 +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 4MThGb4qxjz40HM; Fri, 16 Sep 2022 17:42:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663350135; 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=eEKFrHryN9cI4aN8K7GX4/wP/DF5dzTyr58UYhUosY0=; b=FNFDwa+wZLDd+wp3HT8vVzmLSJzhD3gXTYTUoLzGjl5eQ7g5OB9b2BH7XHHo4oWe3+am4g OWyRpDl6IoUn/xXwGIerprtFINsBBV7zimoNIm9sTbWZZKbRLtSVAoFReXCoUjDAMjc9FG luS+i2YFNfXDCkuIwVDLAnjwuoqCIy0g4jH3U+775Mdc6xA0KQSv3+sdazF7vLORZnbRmR u1ZJZ3x8s0ASSntISvICx/iT86cImy0HMXnxsRbCF5Q02GiXBxZZRDWY0RIT/C8MIQ5flO tDDes/30/VGJflSzzUYiaJkv4ekFNfwJ5rZZSFf5o/0UQgH6WK5ZtkJOYmqSaA== 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 4MThGb3tkqzRSJ; Fri, 16 Sep 2022 17:42:15 +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 28GHgFQo022368; Fri, 16 Sep 2022 17:42:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28GHgFUm022367; Fri, 16 Sep 2022 17:42:15 GMT (envelope-from git) Date: Fri, 16 Sep 2022 17:42:15 GMT Message-Id: <202209161742.28GHgFUm022367@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jens Schweikhardt Subject: git: e6044abdbe1c - main - More precise language: what is called data pointer, C calls object pointer. 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: schweikh X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e6044abdbe1c5f0454ae8f46aa21bffe904952ea Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663350135; 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=eEKFrHryN9cI4aN8K7GX4/wP/DF5dzTyr58UYhUosY0=; b=iCRn7Wl3OQwN68AbvIRTtGfOUTKLvABBAtxuiou6BtpAUiQMZlRWkhKdtc/wBzlP8mWCo8 D0TijDXAzHpRLfPmvJ+7fepBn13LRS0ZhOtWXoCEf9ZEjExo1pLPJv5xBpEKgGI1yPP4Fv re/XErco6HCHUvoJQHzT/ACmV6sndXLimZE1lPK5ZQ23t2MFo0WYzL8aOWgVn3jtLfUJv/ wgMf5NqmnJJncYC/cQamps4jJEQCWwNa4M2Jnh6qdIGfNtwMEB8Z9D3zncAkEus8Kue6nk Yp+lCTUWAEEPKDp/TGKHKVdWW4+nftkzN8GEUaxC3KckZtK1NgGWukMdXdHSDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663350135; a=rsa-sha256; cv=none; b=GyeIbGLoAXoG0rSfIRiXzXEe54PpFNa6+nhyaWqtE0cLlytIAIx7KcKMV0TfDd1m4ZeaJe jpT7Xbv+638pvIlKX1Xj8vQhBzIA2ns4qjJDxZsl6NOED5QnlkTlssb2Tly1BLGlWRSfhS KfgQ0OgHfKrSAxYbVjvoDnb85SuhzPAvYHvwZwWQtrbh4zZfZJyDn3iSQ0ginQUwQUibWY dwJlVWUmsKwQBoz8+ALEnFoTDJomzifPmom13ngkAKW+KAWHH15mGU3DZRKs9x2o3Fqw1/ jKjtyuQEEjdo7c9djAlUV4C0+oyrSLofjBxo4QnBG9l0FWDhzVFxmR/THjIbww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by schweikh: URL: https://cgit.FreeBSD.org/src/commit/?id=e6044abdbe1c5f0454ae8f46aa21bffe904952ea commit e6044abdbe1c5f0454ae8f46aa21bffe904952ea Author: Jens Schweikhardt AuthorDate: 2022-09-16 17:40:11 +0000 Commit: Jens Schweikhardt CommitDate: 2022-09-16 17:40:11 +0000 More precise language: what is called data pointer, C calls object pointer. Also delete reference to non-existing lint(1). --- lib/libc/gen/dlopen.3 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3 index 8bafb0897fd9..9cd572ef7165 100644 --- a/lib/libc/gen/dlopen.3 +++ b/lib/libc/gen/dlopen.3 @@ -326,11 +326,9 @@ triggering compiler diagnostics. (The .Fn dlsym function -returns a data pointer; in the C standard, conversions between -data and function pointer types are undefined. -Some compilers and -.Xr lint 1 -utilities warn about such casts.) +returns an object pointer; in the C standard, conversions between +object and function pointer types are undefined. +Some compilers and lint utilities warn about such casts.) The precise return type of .Fn dlfunc is unspecified; applications must cast it to an appropriate function pointer