aboutsummaryrefslogtreecommitdiff
path: root/inet/getproto_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getproto_r.c')
-rw-r--r--inet/getproto_r.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/inet/getproto_r.c b/inet/getproto_r.c
index ec57a14..66432a7 100644
--- a/inet/getproto_r.c
+++ b/inet/getproto_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.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -20,10 +20,11 @@
#include <netdb.h>
-#define LOOKUP_TYPE struct protoent
-#define FUNCTION_NAME getprotobynumber
-#define DATABASE_NAME protocols
-#define ADD_PARAMS int proto
-#define ADD_VARIABLES proto
+#define LOOKUP_TYPE struct protoent
+#define FUNCTION_NAME getprotobynumber
+#define DATABASE_NAME protocols
+#define ADD_PARAMS int proto
+#define ADD_VARIABLES proto
+#define NSS_attribute_hidden attribute_hidden
#include "../nss/getXXbyYY_r.c"