git: e6044abdbe1c - main - More precise language: what is called data pointer, C calls object pointer.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Sep 2022 17:42:15 UTC
The branch main has been updated by schweikh: URL: https://cgit.FreeBSD.org/src/commit/?id=e6044abdbe1c5f0454ae8f46aa21bffe904952ea commit e6044abdbe1c5f0454ae8f46aa21bffe904952ea Author: Jens Schweikhardt <schweikh@FreeBSD.org> AuthorDate: 2022-09-16 17:40:11 +0000 Commit: Jens Schweikhardt <schweikh@FreeBSD.org> 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