aboutsummaryrefslogtreecommitdiff
path: root/inet/aliases.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
commitc1422e5b7cdb4400f934c91bcefa3a1a96d789fb (patch)
tree7f8981b86c4ce4b5bb899f690eeb03d6645826a5 /inet/aliases.h
parenta4a1492eb94de4f5c5ec84a5898e994fca5f317b (diff)
downloadglibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.zip
glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.gz
glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.bz2
Update.
Patch by khendricks@ivey.uwo.ca [libc/1382].
Diffstat (limited to 'inet/aliases.h')
-rw-r--r--inet/aliases.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/inet/aliases.h b/inet/aliases.h
index 8c47fe5..b050514 100644
--- a/inet/aliases.h
+++ b/inet/aliases.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
@@ -37,28 +37,27 @@ struct aliasent
/* Open alias data base files. */
-extern void setaliasent __P ((void));
+extern void setaliasent (void) __THROW;
/* Close alias data base files. */
-extern void endaliasent __P ((void));
+extern void endaliasent (void) __THROW;
/* Get the next entry from the alias data base. */
-extern struct aliasent *getaliasent __P ((void));
+extern struct aliasent *getaliasent (void) __THROW;
/* Get the next entry from the alias data base and put it in RESULT_BUF. */
-extern int getaliasent_r __P ((struct aliasent *__restrict __result_buf,
- char *__restrict __buffer,
- size_t __buflen,
- struct aliasent **__restrict __result));
+extern int getaliasent_r (struct aliasent *__restrict __result_buf,
+ char *__restrict __buffer, size_t __buflen,
+ struct aliasent **__restrict __result) __THROW;
/* Get alias entry corresponding to NAME. */
-extern struct aliasent *getaliasbyname __P ((__const char *__name));
+extern struct aliasent *getaliasbyname (__const char *__name) __THROW;
/* Get alias entry corresponding to NAME and put it in RESULT_BUF. */
-extern int getaliasbyname_r __P ((__const char *__restrict __name,
- struct aliasent *__restrict __result_buf,
- char *__restrict __buffer, size_t __buflen,
- struct aliasent **__restrict __result));
+extern int getaliasbyname_r (__const char *__restrict __name,
+ struct aliasent *__restrict __result_buf,
+ char *__restrict __buffer, size_t __buflen,
+ struct aliasent **__restrict __result) __THROW;
__END_DECLS