mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
linker: Make linker.h more self-contained
struct kld_file_stat embeds a reference to MAXPATHLEN, defined in param.h. PR: 280432 MFC after: 2 weeks
This commit is contained in:
1 parent
52d895fe63
commit
f44029e322
8 files changed
+2
-7
No files matched your search
@@ -32,7 +32,6 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.In sys/param.h
|
||||
.In sys/linker.h
|
||||
.Ft int
|
||||
.Fn kldfind "const char *file"
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.In sys/param.h
|
||||
.In sys/linker.h
|
||||
.Ft int
|
||||
.Fn kldfirstmod "int fileid"
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.In sys/param.h
|
||||
.In sys/linker.h
|
||||
.Ft int
|
||||
.Fn kldload "const char *file"
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.In sys/param.h
|
||||
.In sys/linker.h
|
||||
.Ft int
|
||||
.Fn kldnext "int fileid"
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.In sys/param.h
|
||||
.In sys/linker.h
|
||||
.Ft int
|
||||
.Fn kldstat "int fileid" "struct kld_file_stat *stat"
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.In sys/param.h
|
||||
.In sys/linker.h
|
||||
.Ft int
|
||||
.Fn kldsym "int fileid" "int cmd" "void *data"
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.In sys/param.h
|
||||
.In sys/linker.h
|
||||
.Ft int
|
||||
.Fn kldunload "int fileid"
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
#ifndef _SYS_LINKER_H_
|
||||
#define _SYS_LINKER_H_
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#include <machine/elf.h>
|
||||
|
||||
Reference in new issue
Block a user