Print this page
remove support for non-ANSI compilation

@@ -17,10 +17,11 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
  */
 
 #ifndef _USER_ATTR_H
 #define _USER_ATTR_H

@@ -127,30 +128,18 @@
         char   *res1;           /* reserved for future use */
         char   *res2;           /* reserved for future use */
         kva_t  *attr;           /* array of key-value pair attributes */
 } userattr_t;
 
-#ifdef  __STDC__
 extern userattr_t *getusernam(const char *);
 extern userattr_t *getuseruid(uid_t uid);
 extern userattr_t *getuserattr(void);
 extern userattr_t *fgetuserattr(struct __FILE *);
 extern void setuserattr(void);
 extern void enduserattr(void);
 extern void free_userattr(userattr_t *);
 
-#else                           /* not __STDC__ */
-
-extern userattr_t *getusernam();
-extern userattr_t *getuseruid();
-extern userattr_t *getuserattr();
-extern userattr_t *fgetuserattr();
-extern void setuserattr();
-extern void enduserattr();
-extern void free_userattr();
-#endif
-
 #ifdef  __cplusplus
 }
 #endif
 
 #endif  /* _USER_ATTR_H */