summaryrefslogtreecommitdiff
path: root/include/shadow.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shadow.h')
-rw-r--r--include/shadow.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/shadow.h b/include/shadow.h
index be40eb42fa..18ed62c00a 100644
--- a/include/shadow.h
+++ b/include/shadow.h
@@ -2,17 +2,17 @@
#include <shadow/shadow.h>
/* Now define the internal interfaces. */
-extern int __getspent_r __P ((struct spwd *__result_buf, char *__buffer,
- size_t __buflen, struct spwd **__result));
-extern int __getspnam_r __P ((__const char *__name, struct spwd *__result_buf,
- char *__buffer, size_t __buflen,
- struct spwd **__result));
-extern int __sgetspent_r __P ((__const char *__string,
- struct spwd *__result_buf, char *__buffer,
- size_t __buflen, struct spwd **__result));
-extern int __fgetspent_r __P ((FILE *__stream, struct spwd *__result_buf,
- char *__buffer, size_t __buflen,
- struct spwd **__result));
-extern int __lckpwdf __P ((void));
-extern int __ulckpwdf __P ((void));
+extern int __getspent_r (struct spwd *__result_buf, char *__buffer,
+ size_t __buflen, struct spwd **__result) __THROW;
+extern int __getspnam_r (__const char *__name, struct spwd *__result_buf,
+ char *__buffer, size_t __buflen,
+ struct spwd **__result) __THROW;
+extern int __sgetspent_r (__const char *__string,
+ struct spwd *__result_buf, char *__buffer,
+ size_t __buflen, struct spwd **__result) __THROW;
+extern int __fgetspent_r (FILE *__stream, struct spwd *__result_buf,
+ char *__buffer, size_t __buflen,
+ struct spwd **__result) __THROW;
+extern int __lckpwdf (void) __THROW;
+extern int __ulckpwdf (void) __THROW;
#endif