From e6044abdbe1c5f0454ae8f46aa21bffe904952ea Mon Sep 17 00:00:00 2001 From: Jens Schweikhardt Date: Fri, 16 Sep 2022 19:40:11 +0200 Subject: [PATCH] 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