Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2002 11:12:10 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8807 for review
Message-ID:  <200204011912.g31JCAA22362@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8807

Change 8807 by jhb@jhb_laptop on 2002/04/01 11:11:59

	Bah, K&R function declarations suck. :)  I missed removing the flag
	argument the second time.  Bite the bullet and just use ANSI
	declarations for suser() and suser_cred().

Affected files ...

... //depot/projects/smpng/sys/kern/kern_prot.c#53 edit

Differences ...

==== //depot/projects/smpng/sys/kern/kern_prot.c#53 (text+ko) ====

@@ -1265,9 +1265,7 @@
  * specify jail interaction.
  */
 int
-suser_cred(cred, flag)
-	struct ucred *cred;
-	int flag;
+suser_cred(struct ucred *cred, int flag)
 {
 
 	if (!suser_enabled)
@@ -1284,9 +1282,7 @@
  * caller, promoting binary compatibility.
  */
 int
-suser(td)
-	struct thread *td;
-	int flag;
+suser(struct thread *td)
 {
 
 	return (suser_cred(td->td_ucred, 0));

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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