summaryrefslogtreecommitdiff
path: root/shadow/getspent_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'shadow/getspent_r.c')
-rw-r--r--shadow/getspent_r.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/shadow/getspent_r.c b/shadow/getspent_r.c
index ad1bd036fc..074b5cd1fb 100644
--- a/shadow/getspent_r.c
+++ b/shadow/getspent_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,11 +20,12 @@
#include <shadow.h>
-#define LOOKUP_TYPE struct spwd
-#define SETFUNC_NAME setspent
-#define GETFUNC_NAME getspent
-#define ENDFUNC_NAME endspent
-#define DATABASE_NAME shadow
-#define BUFLEN 1024
+#define LOOKUP_TYPE struct spwd
+#define SETFUNC_NAME setspent
+#define GETFUNC_NAME getspent
+#define ENDFUNC_NAME endspent
+#define DATABASE_NAME shadow
+#define BUFLEN 1024
+#define NSS_attribute_hidden attribute_hidden
#include "../nss/getXXent_r.c"