aboutsummaryrefslogtreecommitdiff
path: root/inet/getprtname_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getprtname_r.c')
-rw-r--r--inet/getprtname_r.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/inet/getprtname_r.c b/inet/getprtname_r.c
index cac6607..579f255 100644
--- a/inet/getprtname_r.c
+++ b/inet/getprtname_r.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -20,10 +20,11 @@
#include <netdb.h>
-#define LOOKUP_TYPE struct protoent
-#define FUNCTION_NAME getprotobyname
-#define DATABASE_NAME protocols
-#define ADD_PARAMS const char *name
-#define ADD_VARIABLES name
+#define LOOKUP_TYPE struct protoent
+#define FUNCTION_NAME getprotobyname
+#define DATABASE_NAME protocols
+#define ADD_PARAMS const char *name
+#define ADD_VARIABLES name
+#define NSS_attribute_hidden attribute_hidden
#include "../nss/getXXbyYY_r.c"