summary refs log tree commit diff
path: root/inet/getsrvbypt_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getsrvbypt_r.c')
-rw-r--r--inet/getsrvbypt_r.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/inet/getsrvbypt_r.c b/inet/getsrvbypt_r.c
index d86a70b0c0..bbba6b0c55 100644
--- a/inet/getsrvbypt_r.c
+++ b/inet/getsrvbypt_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 servent
-#define FUNCTION_NAME	getservbyport
-#define DATABASE_NAME	services
-#define ADD_PARAMS	int port, const char *proto
-#define ADD_VARIABLES	port, proto
+#define LOOKUP_TYPE		struct servent
+#define FUNCTION_NAME		getservbyport
+#define DATABASE_NAME		services
+#define ADD_PARAMS		int port, const char *proto
+#define ADD_VARIABLES		port, proto
+#define NSS_attribute_hidden	attribute_hidden
 
 #include "../nss/getXXbyYY_r.c"