summaryrefslogtreecommitdiff
path: root/shadow/getspnam_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'shadow/getspnam_r.c')
-rw-r--r--shadow/getspnam_r.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/shadow/getspnam_r.c b/shadow/getspnam_r.c
index bb7fcfac3d..fe1428d3fc 100644
--- a/shadow/getspnam_r.c
+++ b/shadow/getspnam_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 FUNCTION_NAME getspnam
-#define DATABASE_NAME shadow
-#define ADD_PARAMS const char *name
-#define ADD_VARIABLES name
-#define BUFLEN 1024
+#define LOOKUP_TYPE struct spwd
+#define FUNCTION_NAME getspnam
+#define DATABASE_NAME shadow
+#define ADD_PARAMS const char *name
+#define ADD_VARIABLES name
+#define BUFLEN 1024
+#define NSS_attribute_hidden attribute_hidden
#include "../nss/getXXbyYY_r.c"