diff options
Diffstat (limited to 'usr/src/head/shadow.h')
-rw-r--r-- | usr/src/head/shadow.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/usr/src/head/shadow.h b/usr/src/head/shadow.h index d7a5582365..8f1c94734e 100644 --- a/usr/src/head/shadow.h +++ b/usr/src/head/shadow.h @@ -19,6 +19,8 @@ * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -71,8 +73,6 @@ struct spwd { #define FAILCOUNT_MASK 0xF }; -#if defined(__STDC__) - #ifndef _STDIO_H #include <stdio.h> #endif @@ -93,17 +93,6 @@ extern int putspent(const struct spwd *, FILE *); extern int lckpwdf(void); extern int ulckpwdf(void); -#else - -/* Declare all shadow password functions */ - -struct spwd *getspent_r(), *fgetspent_r(), *getspnam_r(); -void setspent(), endspent(); -struct spwd *getspent(), *fgetspent(), *getspnam(); /* MT-unsafe */ -int putspent(), lckpwdf(), ulckpwdf(); - -#endif - #ifdef __cplusplus } #endif |