From nobody Fri Apr 15 14:28:05 2022 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 6EF282D9275; Fri, 15 Apr 2022 14:28:05 +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 4KfzFd2kMzz53b7; Fri, 15 Apr 2022 14:28:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650032885; 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=POgloHKg4dUikmRwu9B12Y4bNOFhg/wDt2vJM7MgAZg=; b=pfWrNRKjtXuaWuDUd801cnNJAA1G5J2CcGURJuDT75sQ5GbteC0vWcVXsPvJB5tyY1h97n NUdwsX+EuoLX7WOge7PZqcRFgyPKvTQcdhKrzUYSEssE7m1pEN+V2T4m0jhZNn9jRxvSI2 l5XEVYoUsM4q+tYe/dH2oZmHcoZnlN+DzjvKlPOga7sK/Ln/RbgZr1EKiuo4b7z7N28oh4 0CB8JsqDcHClZMWNwScLAQmnnINmuXHsmVXouLSlj63DSnlgxaq2/j19v20qaiONNULxin Patl/tx/hogeNKQn4oHp8l3Up+H9mrGlt9arP1hP+kmGoHSH8qOtNCKCtB9Z/A== 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 3E43216D54; Fri, 15 Apr 2022 14:28:05 +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 23FES5g7063362; Fri, 15 Apr 2022 14:28:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23FES50G063361; Fri, 15 Apr 2022 14:28:05 GMT (envelope-from git) Date: Fri, 15 Apr 2022 14:28:05 GMT Message-Id: <202204151428.23FES50G063361@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: 354efc4c9407 - main - libsysdecode: Include required headers in sysdecode.h 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 354efc4c94078c3c83ea45d467c6377f3f92926e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650032885; 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=POgloHKg4dUikmRwu9B12Y4bNOFhg/wDt2vJM7MgAZg=; b=wrEQIoSBnVW928AjiErtW/aJOLo3EDUD4zKoTGFJwS/IJD9rJ/02xNxfG3QYIUt3auwZdv BPBtbGIUHCa9dtaCtxKlSmSDTM7emhk5ET2Zh4fWxtsWamzwrK2BAUieBvfJHg8d1JEHjX RHQMoP0NeMYvM9OF/f82XI132GAOLFM4yUOIkQas3rV24D1OGxAb1xv8g/i7rLxv3SipIw iqgLtKwz3savbbi/2wKsdhB1MwZQnR9/LviFgGn9QVtrXrspERh+Nko8ThXV6hXvGKXZwJ LErn5rjSVLScH2AGoWFaK0nvgR9SJHo/GtxBETnTJcG1u5Z6/uqfzxJZsQ2aCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650032885; a=rsa-sha256; cv=none; b=UeaktCvlO2RuqtZm5AtR1zzI4lP4Sr7oYXTdq2FeYpNMxGUl1fElaz4gkeH57DBEBxzfWr iTMl3g5ygfksbZUeFw1A8zoRjdQ+x+cSQaoffEyXLhuxkzalSY6LqApVzguNSa80bbzsQ7 Wc5BCmMFzZYfKLlYhXOAvzUnVHnDxQUB9YMWsvRfHjGj5bmaSJbchxamzW0Xc7F1F105Ei lVhhY5L4Fl+9Itu9bIQILI9gdq4LiIErJvRyjefEcW6iGEJ8zXI8LHE8/3FSgzIEXKCXYP OK3b9tXyp+3yyO3MyP/7Oxa6zZDkpVvvwH8WGyIVVYBAnavc9radEKbFjan5/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=354efc4c94078c3c83ea45d467c6377f3f92926e commit 354efc4c94078c3c83ea45d467c6377f3f92926e Author: Mark Johnston AuthorDate: 2022-04-15 14:22:29 +0000 Commit: Mark Johnston CommitDate: 2022-04-15 14:22:29 +0000 libsysdecode: Include required headers in sysdecode.h Make sysdecode.h self-contained rather than forcing all consumers to include dependencies. No functional change intended. Reviewed by: pauamma_gundo.com, jhb, emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34899 --- lib/libsysdecode/sysdecode.3 | 2 -- lib/libsysdecode/sysdecode.h | 4 ++++ lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 | 2 -- lib/libsysdecode/sysdecode_cap_rights.3 | 3 --- lib/libsysdecode/sysdecode_cmsg_type.3 | 2 -- lib/libsysdecode/sysdecode_enum.3 | 2 -- lib/libsysdecode/sysdecode_fcntl_arg.3 | 3 --- lib/libsysdecode/sysdecode_ioctlname.3 | 2 -- lib/libsysdecode/sysdecode_kevent.3 | 3 --- lib/libsysdecode/sysdecode_mask.3 | 3 --- lib/libsysdecode/sysdecode_quotactl_cmd.3 | 3 --- lib/libsysdecode/sysdecode_sctp_sinfo_flags.3 | 3 --- lib/libsysdecode/sysdecode_sigcode.3 | 2 -- lib/libsysdecode/sysdecode_socket_protocol.3 | 2 -- lib/libsysdecode/sysdecode_sockopt_name.3 | 2 -- lib/libsysdecode/sysdecode_syscallnames.3 | 2 -- lib/libsysdecode/sysdecode_utrace.3 | 3 --- 17 files changed, 4 insertions(+), 39 deletions(-) diff --git a/lib/libsysdecode/sysdecode.3 b/lib/libsysdecode/sysdecode.3 index f5437e9b1c84..51272bd1a914 100644 --- a/lib/libsysdecode/sysdecode.3 +++ b/lib/libsysdecode/sysdecode.3 @@ -33,8 +33,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h .In sysdecode.h .Sh DESCRIPTION The diff --git a/lib/libsysdecode/sysdecode.h b/lib/libsysdecode/sysdecode.h index 5ab17340818c..3de661bd7ad1 100644 --- a/lib/libsysdecode/sysdecode.h +++ b/lib/libsysdecode/sysdecode.h @@ -28,6 +28,10 @@ #ifndef __SYSDECODE_H__ #define __SYSDECODE_H__ +#include +#include +#include + enum sysdecode_abi { SYSDECODE_ABI_UNKNOWN = 0, SYSDECODE_ABI_FREEBSD, diff --git a/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 b/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 index e5efefbdbe3f..9081ba30e810 100644 --- a/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 +++ b/lib/libsysdecode/sysdecode_abi_to_freebsd_errno.3 @@ -34,8 +34,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h .In sysdecode.h .Ft int .Fn sysdecode_abi_to_freebsd_errno "enum sysdecode_abi abi" "int error" diff --git a/lib/libsysdecode/sysdecode_cap_rights.3 b/lib/libsysdecode/sysdecode_cap_rights.3 index e165e3d43938..efc46b6375d3 100644 --- a/lib/libsysdecode/sysdecode_cap_rights.3 +++ b/lib/libsysdecode/sysdecode_cap_rights.3 @@ -33,9 +33,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h -.In stdio.h .In sysdecode.h .Ft void .Fn sysdecode_cap_rights "FILE *fp" "cap_rights_t *rightsp" diff --git a/lib/libsysdecode/sysdecode_cmsg_type.3 b/lib/libsysdecode/sysdecode_cmsg_type.3 index 945a4a8f837d..6774e2dcee50 100644 --- a/lib/libsysdecode/sysdecode_cmsg_type.3 +++ b/lib/libsysdecode/sysdecode_cmsg_type.3 @@ -34,8 +34,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h .In sysdecode.h .Ft const char * .Fn sysdecode_cmsg_type "int cmsg_level" "int cmsg_type" diff --git a/lib/libsysdecode/sysdecode_enum.3 b/lib/libsysdecode/sysdecode_enum.3 index 722d82f27f29..2ea021b9933c 100644 --- a/lib/libsysdecode/sysdecode_enum.3 +++ b/lib/libsysdecode/sysdecode_enum.3 @@ -77,8 +77,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h .In sysdecode.h .Ft const char * .Fn sysdecode_acltype "int type" diff --git a/lib/libsysdecode/sysdecode_fcntl_arg.3 b/lib/libsysdecode/sysdecode_fcntl_arg.3 index a2fa360205fb..0fa7d6af9e17 100644 --- a/lib/libsysdecode/sysdecode_fcntl_arg.3 +++ b/lib/libsysdecode/sysdecode_fcntl_arg.3 @@ -34,9 +34,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h -.In stdio.h .In sysdecode.h .Ft void .Fn sysdecode_fcntl_arg "FILE *fp" "int cmd" "uintptr_t arg" "int base" diff --git a/lib/libsysdecode/sysdecode_ioctlname.3 b/lib/libsysdecode/sysdecode_ioctlname.3 index 93b6f43c92f2..40250a24f3ed 100644 --- a/lib/libsysdecode/sysdecode_ioctlname.3 +++ b/lib/libsysdecode/sysdecode_ioctlname.3 @@ -33,8 +33,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h .In sysdecode.h .Ft const char * .Fn sysdecode_ioctlname "unsigned long request" diff --git a/lib/libsysdecode/sysdecode_kevent.3 b/lib/libsysdecode/sysdecode_kevent.3 index 4fbf2c0fded3..c3dc0ff5a28b 100644 --- a/lib/libsysdecode/sysdecode_kevent.3 +++ b/lib/libsysdecode/sysdecode_kevent.3 @@ -36,9 +36,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h -.In stdio.h .In sysdecode.h .Ft void .Fn sysdecode_kevent_fflags "FILE *fp" "short filter" "int fflags" "int base" diff --git a/lib/libsysdecode/sysdecode_mask.3 b/lib/libsysdecode/sysdecode_mask.3 index 45464e333eb4..e602e8494f8e 100644 --- a/lib/libsysdecode/sysdecode_mask.3 +++ b/lib/libsysdecode/sysdecode_mask.3 @@ -64,9 +64,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h -.In stdio.h .In sysdecode.h .Ft bool .Fn sysdecode_access_mode "FILE *fp" "int mode" "int *rem" diff --git a/lib/libsysdecode/sysdecode_quotactl_cmd.3 b/lib/libsysdecode/sysdecode_quotactl_cmd.3 index 3dc6669520e4..1e59632bf0b8 100644 --- a/lib/libsysdecode/sysdecode_quotactl_cmd.3 +++ b/lib/libsysdecode/sysdecode_quotactl_cmd.3 @@ -33,9 +33,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h -.In stdio.h .In sysdecode.h .Ft bool .Fn sysdecode_quotactl_cmd "FILE *fp" "int cmd" diff --git a/lib/libsysdecode/sysdecode_sctp_sinfo_flags.3 b/lib/libsysdecode/sysdecode_sctp_sinfo_flags.3 index 121d85c0e056..6275ef4b24db 100644 --- a/lib/libsysdecode/sysdecode_sctp_sinfo_flags.3 +++ b/lib/libsysdecode/sysdecode_sctp_sinfo_flags.3 @@ -34,9 +34,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h -.In stdio.h .In sysdecode.h .Ft void .Fn sysdecode_sctp_sinfo_flags "FILE *fp" "int sinfo_flags" diff --git a/lib/libsysdecode/sysdecode_sigcode.3 b/lib/libsysdecode/sysdecode_sigcode.3 index 79dc0a6efc5d..32edd98e72c4 100644 --- a/lib/libsysdecode/sysdecode_sigcode.3 +++ b/lib/libsysdecode/sysdecode_sigcode.3 @@ -33,8 +33,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h .In sysdecode.h .Ft const char * .Fn sysdecode_sigcode "int signal" "int si_code" diff --git a/lib/libsysdecode/sysdecode_socket_protocol.3 b/lib/libsysdecode/sysdecode_socket_protocol.3 index 266bdf3fd793..9a5e212b712a 100644 --- a/lib/libsysdecode/sysdecode_socket_protocol.3 +++ b/lib/libsysdecode/sysdecode_socket_protocol.3 @@ -33,8 +33,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h .In sysdecode.h .Ft const char * .Fn sysdecode_socket_protocol "int domain" "int protocol" diff --git a/lib/libsysdecode/sysdecode_sockopt_name.3 b/lib/libsysdecode/sysdecode_sockopt_name.3 index 4bd8ace8c0cb..083221943e73 100644 --- a/lib/libsysdecode/sysdecode_sockopt_name.3 +++ b/lib/libsysdecode/sysdecode_sockopt_name.3 @@ -33,8 +33,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h .In sysdecode.h .Ft const char * .Fn sysdecode_sockopt_name "int level" "int optname" diff --git a/lib/libsysdecode/sysdecode_syscallnames.3 b/lib/libsysdecode/sysdecode_syscallnames.3 index ae1170737f36..4fed4af3502c 100644 --- a/lib/libsysdecode/sysdecode_syscallnames.3 +++ b/lib/libsysdecode/sysdecode_syscallnames.3 @@ -33,8 +33,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h .In sysdecode.h .Ft const char * .Fn sysdecode_syscallnames "enum sysdecode_abi abi" "unsigned int code" diff --git a/lib/libsysdecode/sysdecode_utrace.3 b/lib/libsysdecode/sysdecode_utrace.3 index 507fd2164813..6e503187740b 100644 --- a/lib/libsysdecode/sysdecode_utrace.3 +++ b/lib/libsysdecode/sysdecode_utrace.3 @@ -33,9 +33,6 @@ .Sh LIBRARY .Lb libsysdecode .Sh SYNOPSIS -.In sys/types.h -.In stdbool.h -.In stdio.h .In sysdecode.h .Ft int .Fn sysdecode_utrace "FILE *fp" "void *buf" "size_t len" "int decimal"