Print this page
remove support for non-ANSI compilation

*** 18,35 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright (c) 1999 by Sun Microsystems, Inc. All rights reserved. */ #ifndef _AUTH_ATTR_H #define _AUTH_ATTR_H - #pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif #include <sys/types.h> --- 18,34 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> * Copyright (c) 1999 by Sun Microsystems, Inc. All rights reserved. */ #ifndef _AUTH_ATTR_H #define _AUTH_ATTR_H #ifdef __cplusplus extern "C" { #endif #include <sys/types.h>
*** 88,115 **** char *short_desc; /* short description */ char *long_desc; /* long description */ kva_t *attr; /* array of key-value pair attributes */ } authattr_t; - #ifdef __STDC__ extern authattr_t *getauthnam(const char *); extern authattr_t *getauthattr(void); extern void setauthattr(void); extern void endauthattr(void); extern void free_authattr(authattr_t *); extern int chkauthattr(const char *, const char *); - #else /* not __STDC__ */ - - extern authattr_t *getauthnam(); - extern authattr_t *getauthattr(); - extern void setauthattr(); - extern void endauthattr(); - extern void free_authattr(); - extern int chkauthattr(); - #endif - #ifdef __cplusplus } #endif #endif /* _AUTH_ATTR_H */ --- 87,103 ----