aboutsummaryrefslogtreecommitdiff
path: root/inet/getservent_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getservent_r.c')
-rw-r--r--inet/getservent_r.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/inet/getservent_r.c b/inet/getservent_r.c
index b762421c7e..25cbf322c1 100644
--- a/inet/getservent_r.c
+++ b/inet/getservent_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 servent
-#define SETFUNC_NAME setservent
-#define GETFUNC_NAME getservent
-#define ENDFUNC_NAME endservent
-#define DATABASE_NAME services
-#define STAYOPEN int stayopen
-#define STAYOPEN_VAR stayopen
+#define LOOKUP_TYPE struct servent
+#define SETFUNC_NAME setservent
+#define GETFUNC_NAME getservent
+#define ENDFUNC_NAME endservent
+#define DATABASE_NAME services
+#define STAYOPEN int stayopen
+#define STAYOPEN_VAR stayopen
+#define NSS_attribute_hidden attribute_hidden
#include "../nss/getXXent_r.c"