aboutsummaryrefslogtreecommitdiff
path: root/include/grp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/grp.h b/include/grp.h
index 87f6a7b..5ee66fc 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -2,19 +2,19 @@
#include <grp/grp.h>
/* Now define the internal interfaces. */
-extern int __getgrent_r __P ((struct group *__resultbuf, char *buffer,
- size_t __buflen, struct group **__result));
-extern int __fgetgrent_r __P ((FILE * __stream, struct group *__resultbuf,
- char *buffer, size_t __buflen,
- struct group **__result));
+extern int __getgrent_r (struct group *__resultbuf, char *buffer,
+ size_t __buflen, struct group **__result) __THROW;
+extern int __fgetgrent_r (FILE * __stream, struct group *__resultbuf,
+ char *buffer, size_t __buflen,
+ struct group **__result) __THROW;
/* Search for an entry with a matching group ID. */
-extern int __getgrgid_r __P ((__gid_t __gid, struct group *__resultbuf,
- char *__buffer, size_t __buflen,
- struct group **__result));
+extern int __getgrgid_r (__gid_t __gid, struct group *__resultbuf,
+ char *__buffer, size_t __buflen,
+ struct group **__result) __THROW;
/* Search for an entry with a matching group name. */
-extern int __getgrnam_r __P ((__const char *__name, struct group *__resultbuf,
- char *__buffer, size_t __buflen,
- struct group **__result));
+extern int __getgrnam_r (__const char *__name, struct group *__resultbuf,
+ char *__buffer, size_t __buflen,
+ struct group **__result) __THROW;
#endif