aboutsummaryrefslogtreecommitdiff
path: root/inet/getsrvbynm_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getsrvbynm_r.c')
-rw-r--r--inet/getsrvbynm_r.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/inet/getsrvbynm_r.c b/inet/getsrvbynm_r.c
index b36dd4c..cb716eb 100644
--- a/inet/getsrvbynm_r.c
+++ b/inet/getsrvbynm_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 getservbyname
-#define DATABASE_NAME services
-#define ADD_PARAMS const char *name, const char *proto
-#define ADD_VARIABLES name, proto
+#define LOOKUP_TYPE struct servent
+#define FUNCTION_NAME getservbyname
+#define DATABASE_NAME services
+#define ADD_PARAMS const char *name, const char *proto
+#define ADD_VARIABLES name, proto
+#define NSS_attribute_hidden attribute_hidden
#include "../nss/getXXbyYY_r.c"