rename this file so it is visible by metacpan et al
[catagits/fcgi2.git] / libfcgi / strerror.c
index ee54b36..aa00734 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * The terms in the file "LICENSE.TERMS" do not apply to this file.
+ * The terms in the file "LICENSE" do not apply to this file.
  * See terms below.
  *
  * Copyright (c) 1988 Regents of the University of California.
@@ -36,7 +36,7 @@
 
 #if defined(LIBC_SCCS) && !defined(lint)
 /*static char *sccsid = "from: @(#)strerror.c  5.6 (Berkeley) 5/4/91";*/
-static char *rcsid = "$Id: strerror.c,v 1.1 1997/09/16 15:36:33 stanleyg Exp $";
+static char *rcsid = "$Id: strerror.c,v 1.2 1999/07/27 14:59:09 roberts Exp $";
 #endif /* LIBC_SCCS and not lint */
 
 #include "fcgi_config.h"
@@ -51,9 +51,7 @@ static char *rcsid = "$Id: strerror.c,v 1.1 1997/09/16 15:36:33 stanleyg Exp $";
  */
 
 char *
-__strerror(num, buf)
-       int num;
-       char *buf;
+__strerror(int num, char *buf)
 {
 #define        UPREFIX "Unknown error: "
        extern char *sys_errlist[];
@@ -84,8 +82,7 @@ __strerror(num, buf)
 
 
 char *
-strerror(num)
-       int num;
+strerror(int num)
 {
        static char buf[40];                    /* 64-bit number + slop */
        return __strerror(num, buf);