Print this page
remove support for non-ANSI compilation

@@ -22,10 +22,12 @@
 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
 /*        All Rights Reserved   */
 
 
 /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 #ifndef _SYS_UTSNAME_H

@@ -61,32 +63,18 @@
 
 #if !defined(_KERNEL)
 
 #if defined(__i386) && !defined(__amd64)
 
-#if defined(__STDC__)
-
 extern int uname(struct utsname *);
 extern int _uname(struct utsname *);
 
 #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 extern int nuname(struct utsname *);
 #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 extern int _nuname(struct utsname *);
 
-#else   /* defined(__STDC__) */
-
-extern int uname();
-extern int _uname();
-
-#if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
-extern int nuname();
-#endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
-extern int _nuname();
-
-#endif  /* defined(__STDC__) */
-
 /*
  * On i386 in SVID.2 uname() returns a utsname structure with 8 byte members,
  * and nuname() returns the real struct utsname.  In SVID.3 uname and nuname
  * are equivalent.  Anyone who includes this header gets the SVID.3 behaviour.
  * The SVID.2 behaviour exists solely for compatibility, and is what is

@@ -100,15 +88,11 @@
 #define _uname  _nuname
 #endif
 
 #else   /* defined(__i386) */
 
-#if defined(__STDC__)
 extern int uname(struct utsname *);
-#else
-extern int uname();
-#endif  /* (__STDC__) */
 
 #endif  /* defined(__i386) */
 
 #else   /* !(_KERNEL) */
 /*