aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/shadow_.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/shadow_.h b/include/shadow_.h
index 98bd45d04..de126ddec 100644
--- a/include/shadow_.h
+++ b/include/shadow_.h
@@ -60,7 +60,7 @@ struct spwd {
60/* All function names below should be remapped by #defines above 60/* All function names below should be remapped by #defines above
61 * in order to not collide with libc names. */ 61 * in order to not collide with libc names. */
62 62
63 63#ifdef UNUSED_FOR_NOW
64/* Open database for reading */ 64/* Open database for reading */
65extern void setspent(void); 65extern void setspent(void);
66 66
@@ -85,11 +85,13 @@ extern int putspent(const struct spwd *__p, FILE *__stream);
85/* Reentrant versions of some of the functions above */ 85/* Reentrant versions of some of the functions above */
86extern int getspent_r(struct spwd *__result_buf, char *__buffer, 86extern int getspent_r(struct spwd *__result_buf, char *__buffer,
87 size_t __buflen, struct spwd **__result); 87 size_t __buflen, struct spwd **__result);
88#endif
88 89
89extern int getspnam_r(const char *__name, struct spwd *__result_buf, 90extern int getspnam_r(const char *__name, struct spwd *__result_buf,
90 char *__buffer, size_t __buflen, 91 char *__buffer, size_t __buflen,
91 struct spwd **__result); 92 struct spwd **__result);
92 93
94#ifdef UNUSED_FOR_NOW
93extern int sgetspent_r(const char *__string, struct spwd *__result_buf, 95extern int sgetspent_r(const char *__string, struct spwd *__result_buf,
94 char *__buffer, size_t __buflen, 96 char *__buffer, size_t __buflen,
95 struct spwd **__result); 97 struct spwd **__result);
@@ -102,6 +104,7 @@ extern int lckpwdf(void);
102 104
103/* Unlock password file */ 105/* Unlock password file */
104extern int ulckpwdf(void); 106extern int ulckpwdf(void);
107#endif
105 108
106POP_SAVED_FUNCTION_VISIBILITY 109POP_SAVED_FUNCTION_VISIBILITY
107 110