mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
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
This commit is contained in:
parent
7c03df6855
commit
354efc4c94
|
@ -33,8 +33,6 @@
|
|||
.Sh LIBRARY
|
||||
.Lb libsysdecode
|
||||
.Sh SYNOPSIS
|
||||
.In sys/types.h
|
||||
.In stdbool.h
|
||||
.In sysdecode.h
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -28,6 +28,10 @@
|
|||
#ifndef __SYSDECODE_H__
|
||||
#define __SYSDECODE_H__
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
enum sysdecode_abi {
|
||||
SYSDECODE_ABI_UNKNOWN = 0,
|
||||
SYSDECODE_ABI_FREEBSD,
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue