summaryrefslogtreecommitdiffstats
path: root/sys/alpha/linux
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-20 18:58:47 +0000
committerobrien <obrien@FreeBSD.org>2002-03-20 18:58:47 +0000
commita11b0bc7ef9aa0716078fb29c8eeb46df0f454bf (patch)
treeaa4a8b1f00274b707255148923fbee6b3b0e8414 /sys/alpha/linux
parent37ff43589ebd29f29200833b6772e1ea25901790 (diff)
downloadFreeBSD-src-a11b0bc7ef9aa0716078fb29c8eeb46df0f454bf.zip
FreeBSD-src-a11b0bc7ef9aa0716078fb29c8eeb46df0f454bf.tar.gz
Remove __P(). This was tested on the GENERIC kernel.
Diffstat (limited to 'sys/alpha/linux')
-rw-r--r--sys/alpha/linux/linux_proto.h266
-rw-r--r--sys/alpha/linux/linux_sysvec.c6
2 files changed, 136 insertions, 136 deletions
diff --git a/sys/alpha/linux/linux_proto.h b/sys/alpha/linux/linux_proto.h
index 6790d2b..a70c3f9 100644
--- a/sys/alpha/linux/linux_proto.h
+++ b/sys/alpha/linux/linux_proto.h
@@ -580,139 +580,139 @@ struct linux_getdents64_args {
char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)];
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
};
-int linux_fork __P((struct thread *, struct linux_fork_args *));
-int osf1_wait4 __P((struct thread *, struct osf1_wait4_args *));
-int linux_link __P((struct thread *, struct linux_link_args *));
-int linux_unlink __P((struct thread *, struct linux_unlink_args *));
-int linux_chdir __P((struct thread *, struct linux_chdir_args *));
-int linux_mknod __P((struct thread *, struct linux_mknod_args *));
-int linux_chmod __P((struct thread *, struct linux_chmod_args *));
-int linux_chown __P((struct thread *, struct linux_chown_args *));
-int linux_brk __P((struct thread *, struct linux_brk_args *));
-int linux_lseek __P((struct thread *, struct linux_lseek_args *));
-int linux_umount __P((struct thread *, struct linux_umount_args *));
-int linux_ptrace __P((struct thread *, struct linux_ptrace_args *));
-int linux_access __P((struct thread *, struct linux_access_args *));
-int linux_kill __P((struct thread *, struct linux_kill_args *));
-int linux_open __P((struct thread *, struct linux_open_args *));
-int osf1_sigprocmask __P((struct thread *, struct osf1_sigprocmask_args *));
-int linux_sigpending __P((struct thread *, struct linux_sigpending_args *));
-int linux_ioctl __P((struct thread *, struct linux_ioctl_args *));
-int linux_symlink __P((struct thread *, struct linux_symlink_args *));
-int linux_readlink __P((struct thread *, struct linux_readlink_args *));
-int linux_execve __P((struct thread *, struct linux_execve_args *));
-int linux_getpagesize __P((struct thread *, struct linux_getpagesize_args *));
-int linux_vfork __P((struct thread *, struct linux_vfork_args *));
-int linux_newstat __P((struct thread *, struct linux_newstat_args *));
-int linux_newlstat __P((struct thread *, struct linux_newlstat_args *));
-int linux_mmap __P((struct thread *, struct linux_mmap_args *));
-int linux_munmap __P((struct thread *, struct linux_munmap_args *));
-int linux_mprotect __P((struct thread *, struct linux_mprotect_args *));
-int linux_madvise __P((struct thread *, struct linux_madvise_args *));
-int linux_vhangup __P((struct thread *, struct linux_vhangup_args *));
-int linux_setgroups __P((struct thread *, struct linux_setgroups_args *));
-int linux_getgroups __P((struct thread *, struct linux_getgroups_args *));
-int osf1_setitimer __P((struct thread *, struct osf1_setitimer_args *));
-int linux_gethostname __P((struct thread *, struct linux_gethostname_args *));
-int linux_getdtablesize __P((struct thread *, struct linux_getdtablesize_args *));
-int linux_newfstat __P((struct thread *, struct linux_newfstat_args *));
-int linux_fcntl __P((struct thread *, struct linux_fcntl_args *));
-int osf1_select __P((struct thread *, struct osf1_select_args *));
-int osf1_socket __P((struct thread *, struct osf1_socket_args *));
-int linux_connect __P((struct thread *, struct linux_connect_args *));
-int osf1_sigreturn __P((struct thread *, struct osf1_sigreturn_args *));
-int osf1_sigsuspend __P((struct thread *, struct osf1_sigsuspend_args *));
-int linux_recvmsg __P((struct thread *, struct linux_recvmsg_args *));
-int linux_sendmsg __P((struct thread *, struct linux_sendmsg_args *));
-int osf1_gettimeofday __P((struct thread *, struct osf1_gettimeofday_args *));
-int osf1_getrusage __P((struct thread *, struct osf1_getrusage_args *));
-int linux_rename __P((struct thread *, struct linux_rename_args *));
-int linux_truncate __P((struct thread *, struct linux_truncate_args *));
-int osf1_sendto __P((struct thread *, struct osf1_sendto_args *));
-int linux_socketpair __P((struct thread *, struct linux_socketpair_args *));
-int linux_mkdir __P((struct thread *, struct linux_mkdir_args *));
-int linux_rmdir __P((struct thread *, struct linux_rmdir_args *));
-int linux_getrlimit __P((struct thread *, struct linux_getrlimit_args *));
-int linux_setrlimit __P((struct thread *, struct linux_setrlimit_args *));
-int linux_quotactl __P((struct thread *, struct linux_quotactl_args *));
-int osf1_sigaction __P((struct thread *, struct osf1_sigaction_args *));
-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_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_lchown __P((struct thread *, struct linux_lchown_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_msync __P((struct thread *, struct linux_msync_args *));
-int linux_getsid __P((struct thread *, struct linux_getsid_args *));
-int linux_sigaltstack __P((struct thread *, struct linux_sigaltstack_args *));
-int osf1_sysinfo __P((struct thread *, struct osf1_sysinfo_args *));
-int linux_sysfs __P((struct thread *, struct linux_sysfs_args *));
-int osf1_getsysinfo __P((struct thread *, struct osf1_getsysinfo_args *));
-int osf1_setsysinfo __P((struct thread *, struct osf1_setsysinfo_args *));
-int linux_bdflush __P((struct thread *, struct linux_bdflush_args *));
-int linux_sethae __P((struct thread *, struct linux_sethae_args *));
-int linux_mount __P((struct thread *, struct linux_mount_args *));
-int linux_old_adjtimex __P((struct thread *, struct linux_old_adjtimex_args *));
-int linux_swapoff __P((struct thread *, struct linux_swapoff_args *));
-int linux_getdents __P((struct thread *, struct linux_getdents_args *));
-int linux_create_module __P((struct thread *, struct linux_create_module_args *));
-int linux_init_module __P((struct thread *, struct linux_init_module_args *));
-int linux_delete_module __P((struct thread *, struct linux_delete_module_args *));
-int linux_get_kernel_syms __P((struct thread *, struct linux_get_kernel_syms_args *));
-int linux_syslog __P((struct thread *, struct linux_syslog_args *));
-int linux_reboot __P((struct thread *, struct linux_reboot_args *));
-int linux_clone __P((struct thread *, struct linux_clone_args *));
-int linux_uselib __P((struct thread *, struct linux_uselib_args *));
-int linux_sysinfo __P((struct thread *, struct linux_sysinfo_args *));
-int linux_sysctl __P((struct thread *, struct linux_sysctl_args *));
-int linux_oldumount __P((struct thread *, struct linux_oldumount_args *));
-int linux_times __P((struct thread *, struct linux_times_args *));
-int linux_personality __P((struct thread *, struct linux_personality_args *));
-int linux_setfsuid __P((struct thread *, struct linux_setfsuid_args *));
-int linux_setfsgid __P((struct thread *, struct linux_setfsgid_args *));
-int linux_ustat __P((struct thread *, struct linux_ustat_args *));
-int linux_statfs __P((struct thread *, struct linux_statfs_args *));
-int linux_fstatfs __P((struct thread *, struct linux_fstatfs_args *));
-int linux_sched_setscheduler __P((struct thread *, struct linux_sched_setscheduler_args *));
-int linux_sched_getscheduler __P((struct thread *, struct linux_sched_getscheduler_args *));
-int linux_sched_get_priority_max __P((struct thread *, struct linux_sched_get_priority_max_args *));
-int linux_sched_get_priority_min __P((struct thread *, struct linux_sched_get_priority_min_args *));
-int linux_newuname __P((struct thread *, struct linux_newuname_args *));
-int linux_mremap __P((struct thread *, struct linux_mremap_args *));
-int linux_nfsservctl __P((struct thread *, struct linux_nfsservctl_args *));
-int linux_pciconfig_read __P((struct thread *, struct linux_pciconfig_read_args *));
-int linux_pciconfig_write __P((struct thread *, struct linux_pciconfig_write_args *));
-int linux_query_module __P((struct thread *, struct linux_query_module_args *));
-int linux_prctl __P((struct thread *, struct linux_prctl_args *));
-int linux_pread __P((struct thread *, struct linux_pread_args *));
-int linux_pwrite __P((struct thread *, struct linux_pwrite_args *));
-int linux_rt_sigreturn __P((struct thread *, struct linux_rt_sigreturn_args *));
-int linux_rt_sigaction __P((struct thread *, struct linux_rt_sigaction_args *));
-int linux_rt_sigprocmask __P((struct thread *, struct linux_rt_sigprocmask_args *));
-int linux_rt_sigpending __P((struct thread *, struct linux_rt_sigpending_args *));
-int linux_rt_sigtimedwait __P((struct thread *, struct linux_rt_sigtimedwait_args *));
-int linux_rt_sigqueueinfo __P((struct thread *, struct linux_rt_sigqueueinfo_args *));
-int linux_rt_sigsuspend __P((struct thread *, struct linux_rt_sigsuspend_args *));
-int linux_select __P((struct thread *, struct linux_select_args *));
-int linux_getitimer __P((struct thread *, struct linux_getitimer_args *));
-int linux_setitimer __P((struct thread *, struct linux_setitimer_args *));
-int linux_utimes __P((struct thread *, struct linux_utimes_args *));
-int linux_wait4 __P((struct thread *, struct linux_wait4_args *));
-int linux_adjtimex __P((struct thread *, struct linux_adjtimex_args *));
-int linux_getcwd __P((struct thread *, struct linux_getcwd_args *));
-int linux_capget __P((struct thread *, struct linux_capget_args *));
-int linux_capset __P((struct thread *, struct linux_capset_args *));
-int linux_sendfile __P((struct thread *, struct linux_sendfile_args *));
-int linux_pivot_root __P((struct thread *, struct linux_pivot_root_args *));
-int linux_mincore __P((struct thread *, struct linux_mincore_args *));
-int linux_pciconfig_iobase __P((struct thread *, struct linux_pciconfig_iobase_args *));
-int linux_getdents64 __P((struct thread *, struct linux_getdents64_args *));
+int linux_fork(struct thread *, struct linux_fork_args *);
+int osf1_wait4(struct thread *, struct osf1_wait4_args *);
+int linux_link(struct thread *, struct linux_link_args *);
+int linux_unlink(struct thread *, struct linux_unlink_args *);
+int linux_chdir(struct thread *, struct linux_chdir_args *);
+int linux_mknod(struct thread *, struct linux_mknod_args *);
+int linux_chmod(struct thread *, struct linux_chmod_args *);
+int linux_chown(struct thread *, struct linux_chown_args *);
+int linux_brk(struct thread *, struct linux_brk_args *);
+int linux_lseek(struct thread *, struct linux_lseek_args *);
+int linux_umount(struct thread *, struct linux_umount_args *);
+int linux_ptrace(struct thread *, struct linux_ptrace_args *);
+int linux_access(struct thread *, struct linux_access_args *);
+int linux_kill(struct thread *, struct linux_kill_args *);
+int linux_open(struct thread *, struct linux_open_args *);
+int osf1_sigprocmask(struct thread *, struct osf1_sigprocmask_args *);
+int linux_sigpending(struct thread *, struct linux_sigpending_args *);
+int linux_ioctl(struct thread *, struct linux_ioctl_args *);
+int linux_symlink(struct thread *, struct linux_symlink_args *);
+int linux_readlink(struct thread *, struct linux_readlink_args *);
+int linux_execve(struct thread *, struct linux_execve_args *);
+int linux_getpagesize(struct thread *, struct linux_getpagesize_args *);
+int linux_vfork(struct thread *, struct linux_vfork_args *);
+int linux_newstat(struct thread *, struct linux_newstat_args *);
+int linux_newlstat(struct thread *, struct linux_newlstat_args *);
+int linux_mmap(struct thread *, struct linux_mmap_args *);
+int linux_munmap(struct thread *, struct linux_munmap_args *);
+int linux_mprotect(struct thread *, struct linux_mprotect_args *);
+int linux_madvise(struct thread *, struct linux_madvise_args *);
+int linux_vhangup(struct thread *, struct linux_vhangup_args *);
+int linux_setgroups(struct thread *, struct linux_setgroups_args *);
+int linux_getgroups(struct thread *, struct linux_getgroups_args *);
+int osf1_setitimer(struct thread *, struct osf1_setitimer_args *);
+int linux_gethostname(struct thread *, struct linux_gethostname_args *);
+int linux_getdtablesize(struct thread *, struct linux_getdtablesize_args *);
+int linux_newfstat(struct thread *, struct linux_newfstat_args *);
+int linux_fcntl(struct thread *, struct linux_fcntl_args *);
+int osf1_select(struct thread *, struct osf1_select_args *);
+int osf1_socket(struct thread *, struct osf1_socket_args *);
+int linux_connect(struct thread *, struct linux_connect_args *);
+int osf1_sigreturn(struct thread *, struct osf1_sigreturn_args *);
+int osf1_sigsuspend(struct thread *, struct osf1_sigsuspend_args *);
+int linux_recvmsg(struct thread *, struct linux_recvmsg_args *);
+int linux_sendmsg(struct thread *, struct linux_sendmsg_args *);
+int osf1_gettimeofday(struct thread *, struct osf1_gettimeofday_args *);
+int osf1_getrusage(struct thread *, struct osf1_getrusage_args *);
+int linux_rename(struct thread *, struct linux_rename_args *);
+int linux_truncate(struct thread *, struct linux_truncate_args *);
+int osf1_sendto(struct thread *, struct osf1_sendto_args *);
+int linux_socketpair(struct thread *, struct linux_socketpair_args *);
+int linux_mkdir(struct thread *, struct linux_mkdir_args *);
+int linux_rmdir(struct thread *, struct linux_rmdir_args *);
+int linux_getrlimit(struct thread *, struct linux_getrlimit_args *);
+int linux_setrlimit(struct thread *, struct linux_setrlimit_args *);
+int linux_quotactl(struct thread *, struct linux_quotactl_args *);
+int osf1_sigaction(struct thread *, struct osf1_sigaction_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(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_lchown(struct thread *, struct linux_lchown_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 *);
+int linux_msync(struct thread *, struct linux_msync_args *);
+int linux_getsid(struct thread *, struct linux_getsid_args *);
+int linux_sigaltstack(struct thread *, struct linux_sigaltstack_args *);
+int osf1_sysinfo(struct thread *, struct osf1_sysinfo_args *);
+int linux_sysfs(struct thread *, struct linux_sysfs_args *);
+int osf1_getsysinfo(struct thread *, struct osf1_getsysinfo_args *);
+int osf1_setsysinfo(struct thread *, struct osf1_setsysinfo_args *);
+int linux_bdflush(struct thread *, struct linux_bdflush_args *);
+int linux_sethae(struct thread *, struct linux_sethae_args *);
+int linux_mount(struct thread *, struct linux_mount_args *);
+int linux_old_adjtimex(struct thread *, struct linux_old_adjtimex_args *);
+int linux_swapoff(struct thread *, struct linux_swapoff_args *);
+int linux_getdents(struct thread *, struct linux_getdents_args *);
+int linux_create_module(struct thread *, struct linux_create_module_args *);
+int linux_init_module(struct thread *, struct linux_init_module_args *);
+int linux_delete_module(struct thread *, struct linux_delete_module_args *);
+int linux_get_kernel_syms(struct thread *, struct linux_get_kernel_syms_args *);
+int linux_syslog(struct thread *, struct linux_syslog_args *);
+int linux_reboot(struct thread *, struct linux_reboot_args *);
+int linux_clone(struct thread *, struct linux_clone_args *);
+int linux_uselib(struct thread *, struct linux_uselib_args *);
+int linux_sysinfo(struct thread *, struct linux_sysinfo_args *);
+int linux_sysctl(struct thread *, struct linux_sysctl_args *);
+int linux_oldumount(struct thread *, struct linux_oldumount_args *);
+int linux_times(struct thread *, struct linux_times_args *);
+int linux_personality(struct thread *, struct linux_personality_args *);
+int linux_setfsuid(struct thread *, struct linux_setfsuid_args *);
+int linux_setfsgid(struct thread *, struct linux_setfsgid_args *);
+int linux_ustat(struct thread *, struct linux_ustat_args *);
+int linux_statfs(struct thread *, struct linux_statfs_args *);
+int linux_fstatfs(struct thread *, struct linux_fstatfs_args *);
+int linux_sched_setscheduler(struct thread *, struct linux_sched_setscheduler_args *);
+int linux_sched_getscheduler(struct thread *, struct linux_sched_getscheduler_args *);
+int linux_sched_get_priority_max(struct thread *, struct linux_sched_get_priority_max_args *);
+int linux_sched_get_priority_min(struct thread *, struct linux_sched_get_priority_min_args *);
+int linux_newuname(struct thread *, struct linux_newuname_args *);
+int linux_mremap(struct thread *, struct linux_mremap_args *);
+int linux_nfsservctl(struct thread *, struct linux_nfsservctl_args *);
+int linux_pciconfig_read(struct thread *, struct linux_pciconfig_read_args *);
+int linux_pciconfig_write(struct thread *, struct linux_pciconfig_write_args *);
+int linux_query_module(struct thread *, struct linux_query_module_args *);
+int linux_prctl(struct thread *, struct linux_prctl_args *);
+int linux_pread(struct thread *, struct linux_pread_args *);
+int linux_pwrite(struct thread *, struct linux_pwrite_args *);
+int linux_rt_sigreturn(struct thread *, struct linux_rt_sigreturn_args *);
+int linux_rt_sigaction(struct thread *, struct linux_rt_sigaction_args *);
+int linux_rt_sigprocmask(struct thread *, struct linux_rt_sigprocmask_args *);
+int linux_rt_sigpending(struct thread *, struct linux_rt_sigpending_args *);
+int linux_rt_sigtimedwait(struct thread *, struct linux_rt_sigtimedwait_args *);
+int linux_rt_sigqueueinfo(struct thread *, struct linux_rt_sigqueueinfo_args *);
+int linux_rt_sigsuspend(struct thread *, struct linux_rt_sigsuspend_args *);
+int linux_select(struct thread *, struct linux_select_args *);
+int linux_getitimer(struct thread *, struct linux_getitimer_args *);
+int linux_setitimer(struct thread *, struct linux_setitimer_args *);
+int linux_utimes(struct thread *, struct linux_utimes_args *);
+int linux_wait4(struct thread *, struct linux_wait4_args *);
+int linux_adjtimex(struct thread *, struct linux_adjtimex_args *);
+int linux_getcwd(struct thread *, struct linux_getcwd_args *);
+int linux_capget(struct thread *, struct linux_capget_args *);
+int linux_capset(struct thread *, struct linux_capset_args *);
+int linux_sendfile(struct thread *, struct linux_sendfile_args *);
+int linux_pivot_root(struct thread *, struct linux_pivot_root_args *);
+int linux_mincore(struct thread *, struct linux_mincore_args *);
+int linux_pciconfig_iobase(struct thread *, struct linux_pciconfig_iobase_args *);
+int linux_getdents64(struct thread *, struct linux_getdents64_args *);
#ifdef COMPAT_43
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c
index 0380d7d..596a1d9 100644
--- a/sys/alpha/linux/linux_sysvec.c
+++ b/sys/alpha/linux/linux_sysvec.c
@@ -81,9 +81,9 @@ SET_DECLARE(linux_ioctl_handler_set, struct linux_ioctl_handler);
void osendsig(sig_t catcher, int sig, sigset_t *mask, u_long code);
-static int elf_linux_fixup __P((long **stack_base,
- struct image_params *iparams));
-static int exec_linux_imgact_try __P((struct image_params *iparams));
+static int elf_linux_fixup(long **stack_base,
+ struct image_params *iparams);
+static int exec_linux_imgact_try(struct image_params *iparams);
static int
elf_linux_fixup(long **stack_base, struct image_params *imgp)
OpenPOWER on IntegriCloud