aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/imgact.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2004-04-24 06:44:33 +0000
committerBruce Evans <bde@FreeBSD.org>2004-04-24 06:44:33 +0000
commit97d114726d8a5a40b2a3d44acbc3bf1bcde2cb6a (patch)
treefb3f434927d1eff6663f1c23fdf64fee79c4ec73 /sys/sys/imgact.h
parentc050455eac06bd9d0ee711cd14a4e24de3a79efa (diff)
downloadsrc-97d114726d8a5a40b2a3d44acbc3bf1bcde2cb6a.tar.gz
src-97d114726d8a5a40b2a3d44acbc3bf1bcde2cb6a.zip
Fixed some style bugs (useless forward declarations of structs and
misplaced forward declarations of structs). This also reduces namespace pollution (the misplaced declarations were declared in the !_KERNEL case when they are not used).
Notes
Notes: svn path=/head/; revision=128599
Diffstat (limited to 'sys/sys/imgact.h')
-rw-r--r--sys/sys/imgact.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/sys/imgact.h b/sys/sys/imgact.h
index 80bc6d8da644..142d0297ed4b 100644
--- a/sys/sys/imgact.h
+++ b/sys/sys/imgact.h
@@ -34,12 +34,6 @@
#define MAXSHELLCMDLEN 128
-struct label;
-struct sf_buf;
-struct sysentvec;
-struct thread;
-struct vm_object;
-
struct image_params {
struct proc *proc; /* our process struct */
char **userspace_argv; /* system call argument */
@@ -67,6 +61,9 @@ struct image_params {
};
#ifdef _KERNEL
+struct sysentvec;
+struct thread;
+
int exec_check_permissions(struct image_params *);
register_t *exec_copyout_strings(struct image_params *);
int exec_extract_strings(struct image_params *);