Print this page
remove support for non-ANSI compilation
*** 17,26 ****
--- 17,28 ----
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _EXEC_ATTR_H
*** 127,157 ****
execstr_t *head_exec;
execstr_t *prev_exec;
} _priv_execattr; /* Un-supported. For Sun internal use only */
- #ifdef __STDC__
extern execattr_t *getexecattr(void);
extern execattr_t *getexecuser(const char *, const char *, const char *, int);
extern execattr_t *getexecprof(const char *, const char *, const char *, int);
extern execattr_t *match_execattr(execattr_t *, const char *, const char *, \
const char *);
extern void free_execattr(execattr_t *);
extern void setexecattr(void);
extern void endexecattr(void);
- #else /* not __STDC__ */
-
- extern execattr_t *getexecattr();
- extern execattr_t *getexecuser();
- extern execattr_t *getexecprof();
- extern execattr_t *match_execattr();
- extern void setexecattr();
- extern void endexecattr();
- extern void free_execattr();
- #endif
-
#ifdef __cplusplus
}
#endif
#endif /* _EXEC_ATTR_H */
--- 129,147 ----