Author: delphij
Date: Tue Jun 23 23:20:09 2009
New Revision: 194793
URL: http://svn.freebsd.org/changeset/base/194793

Log:
  K&R -> ANSI

Modified:
  head/lib/libcompat/4.3/cfree.c
  head/lib/libcompat/4.3/regex.c
  head/lib/libcompat/4.4/cuserid.c

Modified: head/lib/libcompat/4.3/cfree.c
==============================================================================
--- head/lib/libcompat/4.3/cfree.c      Tue Jun 23 23:18:19 2009        
(r194792)
+++ head/lib/libcompat/4.3/cfree.c      Tue Jun 23 23:20:09 2009        
(r194793)
@@ -37,8 +37,7 @@ static char sccsid[] = "@(#)cfree.c   8.1 
 #include <stdlib.h>
 
 void
-cfree(p)
-       void *p;
+cfree(void *p)
 {
        free(p);
 }

Modified: head/lib/libcompat/4.3/regex.c
==============================================================================
--- head/lib/libcompat/4.3/regex.c      Tue Jun 23 23:18:19 2009        
(r194792)
+++ head/lib/libcompat/4.3/regex.c      Tue Jun 23 23:20:09 2009        
(r194793)
@@ -56,8 +56,7 @@ static int re_goterr;
 static char *re_errstr;
 
 char *
-re_comp(s)
-       char *s;
+re_comp(char *s)
 {
        if (s == NULL || *s == '\0') {
                if (re_regexp == NULL)
@@ -74,8 +73,7 @@ re_comp(s)
 }
 
 int
-re_exec(s)
-       char *s;
+re_exec(char *s)
 {
        int rc;
 
@@ -85,8 +83,7 @@ re_exec(s)
 }
 
 void
-regerror(s)
-       const char *s;
+regerror(const char *s)
 {
        re_goterr = 1;
        if (re_errstr)

Modified: head/lib/libcompat/4.4/cuserid.c
==============================================================================
--- head/lib/libcompat/4.4/cuserid.c    Tue Jun 23 23:18:19 2009        
(r194792)
+++ head/lib/libcompat/4.4/cuserid.c    Tue Jun 23 23:20:09 2009        
(r194793)
@@ -39,8 +39,7 @@ __FBSDID("$FreeBSD$");
 #include <unistd.h>
 
 char *
-cuserid(s)
-       char *s;
+cuserid(char *s)
 {
        struct passwd *pwd;
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to