mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 07:07:24 -04:00
Acquiesce to proc.h for declarations of M_ZOMBIE, M_SUBPROC (and reorder
includes so proc.h knows the right type for 'em). Suggested by: bde
This commit is contained in:
parent
c4ca2670b8
commit
4a735ee8b0
2 changed files with 2 additions and 8 deletions
|
|
@ -37,6 +37,7 @@
|
|||
#include <sys/systm.h>
|
||||
#include <sys/namei.h>
|
||||
#include <sys/dirent.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
@ -44,7 +45,6 @@
|
|||
#include <sys/file.h>
|
||||
#include <sys/filedesc.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/mount.h>
|
||||
|
|
@ -98,9 +98,6 @@
|
|||
|
||||
#define BSD_DIRENT(cp) ((struct dirent *)(cp))
|
||||
|
||||
extern void *M_ZOMBIE;
|
||||
extern void *M_SUBPROC;
|
||||
|
||||
extern int bsd_to_svr4_sig[];
|
||||
static int svr4_mknod __P((struct proc *, register_t *, char *,
|
||||
svr4_mode_t, svr4_dev_t));
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
#include <sys/systm.h>
|
||||
#include <sys/namei.h>
|
||||
#include <sys/dirent.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
@ -44,7 +45,6 @@
|
|||
#include <sys/file.h>
|
||||
#include <sys/filedesc.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/mount.h>
|
||||
|
|
@ -98,9 +98,6 @@
|
|||
|
||||
#define BSD_DIRENT(cp) ((struct dirent *)(cp))
|
||||
|
||||
extern void *M_ZOMBIE;
|
||||
extern void *M_SUBPROC;
|
||||
|
||||
extern int bsd_to_svr4_sig[];
|
||||
static int svr4_mknod __P((struct proc *, register_t *, char *,
|
||||
svr4_mode_t, svr4_dev_t));
|
||||
|
|
|
|||
Loading…
Reference in a new issue