aboutsummaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/aliases.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/inet/aliases.h b/inet/aliases.h
index c6e829007e..8c47fe50c6 100644
--- a/inet/aliases.h
+++ b/inet/aliases.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998 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
@@ -46,17 +46,19 @@ extern void endaliasent __P ((void));
extern struct aliasent *getaliasent __P ((void));
/* Get the next entry from the alias data base and put it in RESULT_BUF. */
-extern int getaliasent_r __P ((struct aliasent *__result_buf, char *__buffer,
- size_t __buflen, struct aliasent **__result));
+extern int getaliasent_r __P ((struct aliasent *__restrict __result_buf,
+ char *__restrict __buffer,
+ size_t __buflen,
+ struct aliasent **__restrict __result));
/* Get alias entry corresponding to NAME. */
extern struct aliasent *getaliasbyname __P ((__const char *__name));
/* Get alias entry corresponding to NAME and put it in RESULT_BUF. */
-extern int getaliasbyname_r __P ((__const char *__name,
- struct aliasent *__result_buf,
- char *__buffer, size_t __buflen,
- struct aliasent **__result));
+extern int getaliasbyname_r __P ((__const char *__restrict __name,
+ struct aliasent *__restrict __result_buf,
+ char *__restrict __buffer, size_t __buflen,
+ struct aliasent **__restrict __result));
__END_DECLS