aboutsummaryrefslogtreecommitdiff
path: root/inet/getprtent_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getprtent_r.c')
-rw-r--r--inet/getprtent_r.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/inet/getprtent_r.c b/inet/getprtent_r.c
index 2350c25..ce502bb 100644
--- a/inet/getprtent_r.c
+++ b/inet/getprtent_r.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2002 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
@@ -19,12 +19,13 @@
#include <netdb.h>
-#define LOOKUP_TYPE struct protoent
-#define SETFUNC_NAME setprotoent
-#define GETFUNC_NAME getprotoent
-#define ENDFUNC_NAME endprotoent
-#define DATABASE_NAME protocols
-#define STAYOPEN int stayopen
-#define STAYOPEN_VAR stayopen
+#define LOOKUP_TYPE struct protoent
+#define SETFUNC_NAME setprotoent
+#define GETFUNC_NAME getprotoent
+#define ENDFUNC_NAME endprotoent
+#define DATABASE_NAME protocols
+#define STAYOPEN int stayopen
+#define STAYOPEN_VAR stayopen
+#define NSS_attribute_hidden attribute_hidden
#include "../nss/getXXent_r.c"