diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-09 21:56:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-09 21:56:43 +0000 |
commit | c1422e5b7cdb4400f934c91bcefa3a1a96d789fb (patch) | |
tree | 7f8981b86c4ce4b5bb899f690eeb03d6645826a5 /shadow/shadow.h | |
parent | a4a1492eb94de4f5c5ec84a5898e994fca5f317b (diff) | |
download | glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.zip glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.gz glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.bz2 |
Update.
Patch by khendricks@ivey.uwo.ca [libc/1382].
Diffstat (limited to 'shadow/shadow.h')
-rw-r--r-- | shadow/shadow.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/shadow/shadow.h b/shadow/shadow.h index 1ebb0ae..1f9ad1a 100644 --- a/shadow/shadow.h +++ b/shadow/shadow.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -55,50 +55,50 @@ struct spwd /* Open database for reading. */ -extern void setspent __P ((void)); +extern void setspent (void) __THROW; /* Close database. */ -extern void endspent __P ((void)); +extern void endspent (void) __THROW; /* Get next entry from database, perhaps after opening the file. */ -extern struct spwd *getspent __P ((void)); +extern struct spwd *getspent (void) __THROW; /* Get shadow entry matching NAME. */ -extern struct spwd *getspnam __P ((__const char *__name)); +extern struct spwd *getspnam (__const char *__name) __THROW; /* Read shadow entry from STRING. */ -extern struct spwd *sgetspent __P ((__const char *__string)); +extern struct spwd *sgetspent (__const char *__string) __THROW; /* Read next shadow entry from STREAM. */ -extern struct spwd *fgetspent __P ((FILE *__stream)); +extern struct spwd *fgetspent (FILE *__stream) __THROW; /* Write line containing shadow password entry to stream. */ -extern int putspent __P ((__const struct spwd *__p, FILE *__stream)); +extern int putspent (__const struct spwd *__p, FILE *__stream) __THROW; #ifdef __USE_MISC /* Reentrant versions of some of the functions above. */ -extern int getspent_r __P ((struct spwd *__result_buf, char *__buffer, - size_t __buflen, struct spwd **__result)); +extern int getspent_r (struct spwd *__result_buf, char *__buffer, + size_t __buflen, struct spwd **__result) __THROW; -extern int getspnam_r __P ((__const char *__name, struct spwd *__result_buf, - char *__buffer, size_t __buflen, - struct spwd **__result)); +extern int getspnam_r (__const char *__name, struct spwd *__result_buf, + char *__buffer, size_t __buflen, + struct spwd **__result)__THROW; -extern int sgetspent_r __P ((__const char *__string, struct spwd *__result_buf, - char *__buffer, size_t __buflen, - struct spwd **__result)); +extern int sgetspent_r (__const char *__string, struct spwd *__result_buf, + char *__buffer, size_t __buflen, + struct spwd **__result) __THROW; -extern int fgetspent_r __P ((FILE *__stream, struct spwd *__result_buf, - char *__buffer, size_t __buflen, - struct spwd **__result)); +extern int fgetspent_r (FILE *__stream, struct spwd *__result_buf, + char *__buffer, size_t __buflen, + struct spwd **__result) __THROW; #endif /* misc */ /* Protect password file against multi writers. */ -extern int lckpwdf __P ((void)); +extern int lckpwdf (void) __THROW; /* Unlock password file. */ -extern int ulckpwdf __P ((void)); +extern int ulckpwdf (void) __THROW; __END_DECLS |