Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2009 05:58:47 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193014 - head/sys/compat/svr4
Message-ID:  <200905290558.n4T5wle2061296@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Fri May 29 05:58:46 2009
New Revision: 193014
URL: http://svn.freebsd.org/changeset/base/193014

Log:
  de-register.
  
  Submitted by:	"Pedro f. Giffuni" <giffunip asme org>
  Obtained from:	NetBSD
  PR:		kern/91293

Modified:
  head/sys/compat/svr4/svr4_fcntl.c
  head/sys/compat/svr4/svr4_ioctl.c
  head/sys/compat/svr4/svr4_misc.c
  head/sys/compat/svr4/svr4_resource.c
  head/sys/compat/svr4/svr4_signal.c
  head/sys/compat/svr4/svr4_stat.c
  head/sys/compat/svr4/svr4_stream.c

Modified: head/sys/compat/svr4/svr4_fcntl.c
==============================================================================
--- head/sys/compat/svr4/svr4_fcntl.c	Fri May 29 05:51:19 2009	(r193013)
+++ head/sys/compat/svr4/svr4_fcntl.c	Fri May 29 05:58:46 2009	(r193014)
@@ -367,7 +367,7 @@ fd_truncate(td, fd, flp)
 
 int
 svr4_sys_open(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_open_args *uap;
 {
 	struct proc *p = td->td_proc;
@@ -419,7 +419,7 @@ svr4_sys_open(td, uap)
 
 int
 svr4_sys_open64(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_open64_args *uap;
 {
 	return svr4_sys_open(td, (struct svr4_sys_open_args *)uap);
@@ -427,7 +427,7 @@ svr4_sys_open64(td, uap)
 
 int
 svr4_sys_creat(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_creat_args *uap;
 {
 	char *newpath;
@@ -443,7 +443,7 @@ svr4_sys_creat(td, uap)
 
 int
 svr4_sys_creat64(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_creat64_args *uap;
 {
 	return svr4_sys_creat(td, (struct svr4_sys_creat_args *)uap);
@@ -451,7 +451,7 @@ svr4_sys_creat64(td, uap)
 
 int
 svr4_sys_llseek(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_llseek_args *uap;
 {
 	struct lseek_args ap;
@@ -472,7 +472,7 @@ svr4_sys_llseek(td, uap)
 
 int
 svr4_sys_access(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_access_args *uap;
 {
 	char *newpath;
@@ -487,7 +487,7 @@ svr4_sys_access(td, uap)
 #if defined(NOTYET)
 int
 svr4_sys_pread(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_pread_args *uap;
 {
 	struct pread_args pra;
@@ -508,7 +508,7 @@ svr4_sys_pread(td, uap)
 #if defined(NOTYET)
 int
 svr4_sys_pread64(td, v, retval)
-	register struct thread *td;
+	struct thread *td;
 	void *v; 
 	register_t *retval;
 {
@@ -532,7 +532,7 @@ svr4_sys_pread64(td, v, retval)
 #if defined(NOTYET)
 int
 svr4_sys_pwrite(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_pwrite_args *uap;
 {
 	struct pwrite_args pwa;
@@ -553,7 +553,7 @@ svr4_sys_pwrite(td, uap)
 #if defined(NOTYET)
 int
 svr4_sys_pwrite64(td, v, retval)
-	register struct thread *td;
+	struct thread *td;
 	void *v; 
 	register_t *retval;
 {
@@ -575,7 +575,7 @@ svr4_sys_pwrite64(td, v, retval)
 
 int
 svr4_sys_fcntl(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_fcntl_args *uap;
 {
 	int cmd, error, *retval;

Modified: head/sys/compat/svr4/svr4_ioctl.c
==============================================================================
--- head/sys/compat/svr4/svr4_ioctl.c	Fri May 29 05:51:19 2009	(r193013)
+++ head/sys/compat/svr4/svr4_ioctl.c	Fri May 29 05:58:46 2009	(r193014)
@@ -79,7 +79,7 @@ svr4_decode_cmd(cmd, dir, c, num, argsiz
 
 int
 svr4_sys_ioctl(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_ioctl_args *uap;
 {
 	int             *retval;

Modified: head/sys/compat/svr4/svr4_misc.c
==============================================================================
--- head/sys/compat/svr4/svr4_misc.c	Fri May 29 05:51:19 2009	(r193013)
+++ head/sys/compat/svr4/svr4_misc.c	Fri May 29 05:58:46 2009	(r193014)
@@ -121,7 +121,7 @@ static struct proc *svr4_pfind(pid_t pid
 #if defined(BOGUS)
 int
 svr4_sys_setitimer(td, uap)
-        register struct thread *td;
+        struct thread *td;
 	struct svr4_sys_setitimer_args *uap;
 {
         td->td_retval[0] = 0;
@@ -231,7 +231,7 @@ svr4_sys_getdents64(td, uap)
 	struct thread *td;
 	struct svr4_sys_getdents64_args *uap;
 {
-	register struct dirent *bdp;
+	struct dirent *bdp;
 	struct vnode *vp;
 	caddr_t inp, buf;		/* BSD-format */
 	int len, reclen;		/* BSD-format */
@@ -668,7 +668,7 @@ svr4_mknod(td, retval, path, mode, dev)
 
 int
 svr4_sys_mknod(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_mknod_args *uap;
 {
         int *retval = td->td_retval;

Modified: head/sys/compat/svr4/svr4_resource.c
==============================================================================
--- head/sys/compat/svr4/svr4_resource.c	Fri May 29 05:51:19 2009	(r193013)
+++ head/sys/compat/svr4/svr4_resource.c	Fri May 29 05:58:46 2009	(r193014)
@@ -127,7 +127,7 @@ svr4_to_native_rl(rl)
 
 int
 svr4_sys_getrlimit(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_getrlimit_args *uap;
 {
 	int rl = svr4_to_native_rl(uap->which);
@@ -174,7 +174,7 @@ svr4_sys_getrlimit(td, uap)
 
 int
 svr4_sys_setrlimit(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_setrlimit_args *uap;
 {
 	int rl = svr4_to_native_rl(uap->which);
@@ -225,7 +225,7 @@ svr4_sys_setrlimit(td, uap)
 
 int
 svr4_sys_getrlimit64(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_getrlimit64_args *uap;
 {
 	int rl = svr4_to_native_rl(uap->which);
@@ -272,7 +272,7 @@ svr4_sys_getrlimit64(td, uap)
 
 int
 svr4_sys_setrlimit64(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_setrlimit64_args *uap;
 {
 	int rl = svr4_to_native_rl(uap->which);

Modified: head/sys/compat/svr4/svr4_signal.c
==============================================================================
--- head/sys/compat/svr4/svr4_signal.c	Fri May 29 05:51:19 2009	(r193013)
+++ head/sys/compat/svr4/svr4_signal.c	Fri May 29 05:58:46 2009	(r193014)
@@ -259,7 +259,7 @@ bsd_to_svr4_sigaltstack(bss, sss)
 
 int
 svr4_sys_sigaction(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_sigaction_args *uap;
 {
 	struct svr4_sigaction isa;
@@ -301,7 +301,7 @@ svr4_sys_sigaction(td, uap)
 
 int 
 svr4_sys_sigaltstack(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_sigaltstack_args *uap;
 {
 	struct svr4_sigaltstack sss;
@@ -328,7 +328,7 @@ svr4_sys_sigaltstack(td, uap)
  */
 int
 svr4_sys_signal(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_signal_args *uap;
 {
 	struct proc *p;
@@ -493,7 +493,7 @@ svr4_sys_sigpending(td, uap)
 
 int
 svr4_sys_sigsuspend(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_sigsuspend_args *uap;
 {
 	svr4_sigset_t sss;
@@ -510,7 +510,7 @@ svr4_sys_sigsuspend(td, uap)
 
 int
 svr4_sys_kill(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_kill_args *uap;
 {
 	struct kill_args ka;
@@ -525,7 +525,7 @@ svr4_sys_kill(td, uap)
 
 int 
 svr4_sys_context(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_context_args *uap;
 {
 	struct svr4_ucontext uc;
@@ -565,7 +565,7 @@ svr4_sys_context(td, uap)
 
 int
 svr4_sys_pause(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_pause_args *uap;
 {
 	sigset_t mask;

Modified: head/sys/compat/svr4/svr4_stat.c
==============================================================================
--- head/sys/compat/svr4/svr4_stat.c	Fri May 29 05:51:19 2009	(r193013)
+++ head/sys/compat/svr4/svr4_stat.c	Fri May 29 05:58:46 2009	(r193014)
@@ -185,7 +185,7 @@ svr4_sys_stat(td, uap)
 
 int
 svr4_sys_lstat(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_lstat_args *uap;
 {
 	struct svr4_stat svr4_st;
@@ -210,7 +210,7 @@ svr4_sys_lstat(td, uap)
 
 int
 svr4_sys_fstat(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_fstat_args *uap;
 {
 	struct svr4_stat svr4_st;
@@ -228,7 +228,7 @@ svr4_sys_fstat(td, uap)
 
 int
 svr4_sys_xstat(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_xstat_args *uap;
 {
 	struct svr4_xstat svr4_st;
@@ -255,7 +255,7 @@ svr4_sys_xstat(td, uap)
 
 int
 svr4_sys_lxstat(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_lxstat_args *uap;
 {
 	struct svr4_xstat svr4_st;
@@ -282,7 +282,7 @@ svr4_sys_lxstat(td, uap)
 
 int
 svr4_sys_fxstat(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_fxstat_args *uap;
 {
 	struct svr4_xstat svr4_st;
@@ -299,7 +299,7 @@ svr4_sys_fxstat(td, uap)
 
 int
 svr4_sys_stat64(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_stat64_args *uap;
 {
 	struct svr4_stat64 svr4_st;
@@ -325,7 +325,7 @@ svr4_sys_stat64(td, uap)
 
 int
 svr4_sys_lstat64(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_lstat64_args *uap;
 {
 	struct svr4_stat64 svr4_st;
@@ -351,7 +351,7 @@ svr4_sys_lstat64(td, uap)
 
 int
 svr4_sys_fstat64(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_fstat64_args *uap;
 {
 	struct svr4_stat64 svr4_st;
@@ -368,7 +368,7 @@ svr4_sys_fstat64(td, uap)
 
 int
 svr4_ustat(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_ustat_args *uap;
 {
 	struct svr4_ustat	us;
@@ -390,7 +390,7 @@ svr4_ustat(td, uap)
 
 int
 svr4_sys_uname(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_uname_args *uap;
 {
 	struct svr4_utsname	sut;
@@ -517,7 +517,7 @@ svr4_sys_systeminfo(td, uap)
 
 int
 svr4_sys_utssys(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_utssys_args *uap;
 {
 	switch (uap->sel) {
@@ -548,7 +548,7 @@ svr4_sys_utssys(td, uap)
 
 int
 svr4_sys_utime(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_utime_args *uap;
 {
 	struct svr4_utimbuf ub;
@@ -577,7 +577,7 @@ svr4_sys_utime(td, uap)
 
 int
 svr4_sys_utimes(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_utimes_args *uap;
 {
 	char *path;
@@ -640,7 +640,7 @@ svr4_to_bsd_pathconf(name)
 
 int
 svr4_sys_pathconf(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_pathconf_args *uap;
 {
 	char *path;
@@ -666,7 +666,7 @@ svr4_sys_pathconf(td, uap)
 
 int
 svr4_sys_fpathconf(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_fpathconf_args *uap;
 {
         register_t	*retval = td->td_retval;

Modified: head/sys/compat/svr4/svr4_stream.c
==============================================================================
--- head/sys/compat/svr4/svr4_stream.c	Fri May 29 05:51:19 2009	(r193013)
+++ head/sys/compat/svr4/svr4_stream.c	Fri May 29 05:58:46 2009	(r193014)
@@ -1442,7 +1442,7 @@ svr4_stream_ioctl(fp, td, retval, fd, cm
 
 int
 svr4_sys_putmsg(td, uap)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_putmsg_args *uap;
 {
 	struct file     *fp;
@@ -1633,7 +1633,7 @@ svr4_sys_getmsg(td, uap)
 
 int
 svr4_do_getmsg(td, uap, fp)
-	register struct thread *td;
+	struct thread *td;
 	struct svr4_sys_getmsg_args *uap;
 	struct file *fp;
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905290558.n4T5wle2061296>