summaryrefslogtreecommitdiff
path: root/include/pwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 18e8ac7e94..6baec570fc 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -2,15 +2,15 @@
#include <pwd/pwd.h>
/* Now define the internal interfaces. */
-extern int __getpwent_r __P ((struct passwd *__resultbuf, char *__buffer,
- size_t __buflen, struct passwd **__result));
-extern int __getpwuid_r __P ((__uid_t __uid, struct passwd *__resultbuf,
- char *__buffer, size_t __buflen,
- struct passwd **__result));
-extern int __getpwnam_r __P ((__const char *__name, struct passwd *__resultbuf,
- char *__buffer, size_t __buflen,
- struct passwd **__result));
-extern int __fgetpwent_r __P ((FILE * __stream, struct passwd *__resultbuf,
- char *__buffer, size_t __buflen,
- struct passwd **__result));
+extern int __getpwent_r (struct passwd *__resultbuf, char *__buffer,
+ size_t __buflen, struct passwd **__result) __THROW;
+extern int __getpwuid_r (__uid_t __uid, struct passwd *__resultbuf,
+ char *__buffer, size_t __buflen,
+ struct passwd **__result) __THROW;
+extern int __getpwnam_r (__const char *__name, struct passwd *__resultbuf,
+ char *__buffer, size_t __buflen,
+ struct passwd **__result) __THROW;
+extern int __fgetpwent_r (FILE * __stream, struct passwd *__resultbuf,
+ char *__buffer, size_t __buflen,
+ struct passwd **__result) __THROW;
#endif