diff options
author | kib <kib@FreeBSD.org> | 2010-07-24 18:14:34 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-07-24 18:14:34 +0000 |
commit | d1d9de6577b26f631b8b1827bc13e3c4d1ebd58a (patch) | |
tree | b2c6a2bb981d7d873711802f235c32fe49a796b8 | |
parent | 940c4d597c60b0b64ff3715c3aa0d41694697d55 (diff) | |
download | FreeBSD-src-d1d9de6577b26f631b8b1827bc13e3c4d1ebd58a.zip FreeBSD-src-d1d9de6577b26f631b8b1827bc13e3c4d1ebd58a.tar.gz |
Use forward declartion for enum uio_seg in imgact.h. This allows to remove
inclusion of sys/uio.h from the header.
Proposed by: alc
MFC after: 1 week
-rw-r--r-- | sys/sys/imgact.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/imgact.h b/sys/sys/imgact.h index d20c491..2a93229 100644 --- a/sys/sys/imgact.h +++ b/sys/sys/imgact.h @@ -32,8 +32,6 @@ #ifndef _SYS_IMGACT_H_ #define _SYS_IMGACT_H_ -#include <sys/uio.h> - #define MAXSHELLCMDLEN PAGE_SIZE struct image_args { @@ -75,6 +73,7 @@ struct image_params { #ifdef _KERNEL struct sysentvec; struct thread; +enum uio_seg; #define IMGACT_CORE_COMPRESS 0x01 |