aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-03-20 05:48:58 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-03-20 05:48:58 +0000
commitb63dc6ad473b82b196386d0c3dcbd1056cea81df (patch)
tree3d74fd60e2a8454afa80afb555ded6a9f0360780 /sys/compat/linux
parent69c2d429c13b29b1cb66d1990d969d1314f5960f (diff)
Notes
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_getcwd.c8
-rw-r--r--sys/compat/linux/linux_ipc.h22
-rw-r--r--sys/compat/linux/linux_mib.h12
-rw-r--r--sys/compat/linux/linux_signal.h7
-rw-r--r--sys/compat/linux/linux_util.h2
5 files changed, 25 insertions, 26 deletions
diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c
index 2a09fd36a852c..6e8d0b1f899dd 100644
--- a/sys/compat/linux/linux_getcwd.c
+++ b/sys/compat/linux/linux_getcwd.c
@@ -60,11 +60,11 @@
#include <compat/linux/linux_util.h>
static int
-linux_getcwd_scandir __P((struct vnode **, struct vnode **,
- char **, char *, struct thread *));
+linux_getcwd_scandir(struct vnode **, struct vnode **,
+ char **, char *, struct thread *);
static int
-linux_getcwd_common __P((struct vnode *, struct vnode *,
- char **, char *, int, int, struct thread *));
+linux_getcwd_common(struct vnode *, struct vnode *,
+ char **, char *, int, int, struct thread *);
#define DIRENT_MINSIZE (sizeof(struct dirent) - (MAXNAMLEN+1) + 4)
diff --git a/sys/compat/linux/linux_ipc.h b/sys/compat/linux/linux_ipc.h
index a647b4b96d58a..183afe10244a7 100644
--- a/sys/compat/linux/linux_ipc.h
+++ b/sys/compat/linux/linux_ipc.h
@@ -112,19 +112,19 @@ struct linux_shmget_args
l_int shmflg;
};
-int linux_msgctl __P((struct thread *, struct linux_msgctl_args *));
-int linux_msgget __P((struct thread *, struct linux_msgget_args *));
-int linux_msgrcv __P((struct thread *, struct linux_msgrcv_args *));
-int linux_msgsnd __P((struct thread *, struct linux_msgsnd_args *));
+int linux_msgctl(struct thread *, struct linux_msgctl_args *);
+int linux_msgget(struct thread *, struct linux_msgget_args *);
+int linux_msgrcv(struct thread *, struct linux_msgrcv_args *);
+int linux_msgsnd(struct thread *, struct linux_msgsnd_args *);
-int linux_semctl __P((struct thread *, struct linux_semctl_args *));
-int linux_semget __P((struct thread *, struct linux_semget_args *));
-int linux_semop __P((struct thread *, struct linux_semop_args *));
+int linux_semctl(struct thread *, struct linux_semctl_args *);
+int linux_semget(struct thread *, struct linux_semget_args *);
+int linux_semop(struct thread *, struct linux_semop_args *);
-int linux_shmat __P((struct thread *, struct linux_shmat_args *));
-int linux_shmctl __P((struct thread *, struct linux_shmctl_args *));
-int linux_shmdt __P((struct thread *, struct linux_shmdt_args *));
-int linux_shmget __P((struct thread *, struct linux_shmget_args *));
+int linux_shmat(struct thread *, struct linux_shmat_args *);
+int linux_shmctl(struct thread *, struct linux_shmctl_args *);
+int linux_shmdt(struct thread *, struct linux_shmdt_args *);
+int linux_shmget(struct thread *, struct linux_shmget_args *);
#endif /* __i386__ */
diff --git a/sys/compat/linux/linux_mib.h b/sys/compat/linux/linux_mib.h
index 4bed667467295..079efc01c7e48 100644
--- a/sys/compat/linux/linux_mib.h
+++ b/sys/compat/linux/linux_mib.h
@@ -31,13 +31,13 @@
#ifndef _LINUX_MIB_H_
#define _LINUX_MIB_H_
-void linux_get_osname __P((struct proc *p, char *dst));
-int linux_set_osname __P((struct proc *p, char *osname));
+void linux_get_osname (struct proc *p, char *dst);
+int linux_set_osname (struct proc *p, char *osname);
-void linux_get_osrelease __P((struct proc *p, char *dst));
-int linux_set_osrelease __P((struct proc *p, char *osrelease));
+void linux_get_osrelease (struct proc *p, char *dst);
+int linux_set_osrelease (struct proc *p, char *osrelease);
-int linux_get_oss_version __P((struct proc *p));
-int linux_set_oss_version __P((struct proc *p, int oss_version));
+int linux_get_oss_version (struct proc *p);
+int linux_set_oss_version (struct proc *p, int oss_version);
#endif /* _LINUX_MIB_H_ */
diff --git a/sys/compat/linux/linux_signal.h b/sys/compat/linux/linux_signal.h
index 8d0825bbaae49..edb7c66b26920 100644
--- a/sys/compat/linux/linux_signal.h
+++ b/sys/compat/linux/linux_signal.h
@@ -31,9 +31,8 @@
#ifndef _LINUX_SIGNAL_H_
#define _LINUX_SIGNAL_H_
-void linux_to_bsd_sigset __P((l_sigset_t *, sigset_t *));
-void bsd_to_linux_sigset __P((sigset_t *, l_sigset_t *));
-int linux_do_sigaction __P((struct thread *, int, l_sigaction_t *,
- l_sigaction_t *));
+void linux_to_bsd_sigset(l_sigset_t *, sigset_t *);
+void bsd_to_linux_sigset(sigset_t *, l_sigset_t *);
+int linux_do_sigaction(struct thread *, int, l_sigaction_t *, l_sigaction_t *);
#endif /* _LINUX_SIGNAL_H_ */
diff --git a/sys/compat/linux/linux_util.h b/sys/compat/linux/linux_util.h
index bc020464c8b31..ee421a2927c24 100644
--- a/sys/compat/linux/linux_util.h
+++ b/sys/compat/linux/linux_util.h
@@ -74,7 +74,7 @@ stackgap_alloc(sgp, sz)
extern const char linux_emul_path[];
-int linux_emul_find __P((struct thread *, caddr_t *, char *, char **, int));
+int linux_emul_find(struct thread *, caddr_t *, char *, char **, int);
#define CHECKALT(p, sgp, path, i) \
do { \