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 _PROF_ATTR_H
 #define _PROF_ATTR_H

@@ -86,31 +87,18 @@
         char   *res2;   /* RESERVED */
         char   *desc;   /* description */
         kva_t  *attr;   /* array of key-value pair attributes */
 } profattr_t;
 
-#ifdef    __STDC__
 extern profattr_t *getprofnam(const char *);
 extern profattr_t *getprofattr(void);
 extern void getproflist(const char *, char **, int *);
 extern void setprofattr(void);
 extern void endprofattr(void);
 extern void free_profattr(profattr_t *);
 extern void free_proflist(char **, int);
 
-#else                           /* not __STDC__ */
-
-extern profattr_t *getprofnam();
-extern profattr_t *getprofattr();
-extern void getproflist();
-extern int setprofattr();
-extern int endprofattr();
-extern void free_profattr();
-extern void free_proflist();
-
-#endif
-
 #ifdef __cplusplus
 }
 #endif
 
 #endif  /* _PROF_ATTR_H */