aboutsummaryrefslogtreecommitdiff
path: root/gshadow
diff options
context:
space:
mode:
Diffstat (limited to 'gshadow')
-rw-r--r--gshadow/Versions2
-rw-r--r--gshadow/getsgent_r.c1
-rw-r--r--gshadow/getsgnam_r.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/gshadow/Versions b/gshadow/Versions
index 00a410b..1dba0c5 100644
--- a/gshadow/Versions
+++ b/gshadow/Versions
@@ -7,7 +7,7 @@ libc {
fgetsgent; fgetsgent_r;
# g*
- getsgent; getsgent_r; getsgnam; getsgnam_r; getsgent_r; getsgnam_r;
+ getsgent; getsgent_r; getsgnam; getsgnam_r;
# p*
putsgent;
diff --git a/gshadow/getsgent_r.c b/gshadow/getsgent_r.c
index 336110e..9feea9f 100644
--- a/gshadow/getsgent_r.c
+++ b/gshadow/getsgent_r.c
@@ -26,5 +26,6 @@
#define ENDFUNC_NAME endsgent
#define DATABASE_NAME gshadow
#define BUFLEN 1024
+#define NO_COMPAT_NEEDED 1
#include "../nss/getXXent_r.c"
diff --git a/gshadow/getsgnam_r.c b/gshadow/getsgnam_r.c
index c89fb06..a9ab764 100644
--- a/gshadow/getsgnam_r.c
+++ b/gshadow/getsgnam_r.c
@@ -26,5 +26,6 @@
#define ADD_PARAMS const char *name
#define ADD_VARIABLES name
#define BUFLEN 1024
+#define NO_COMPAT_NEEDED 1
#include "../nss/getXXbyYY_r.c"