diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-31 14:43:58 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-31 14:43:58 +0200 |
commit | 8d22ca81c34a9127f96cf3bb85b6a64ae17e23b4 (patch) | |
tree | dd0c479b13e480320ff6468b9c7946f1ab027b0d /include | |
parent | 55301297d3e4c05ec37faf1e1695f79a74ce2cab (diff) | |
download | busybox-w32-8d22ca81c34a9127f96cf3bb85b6a64ae17e23b4.tar.gz busybox-w32-8d22ca81c34a9127f96cf3bb85b6a64ae17e23b4.tar.bz2 busybox-w32-8d22ca81c34a9127f96cf3bb85b6a64ae17e23b4.zip |
libpwdgrp: comment out more unused functions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/shadow_.h | 5 |
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 */ |
65 | extern void setspent(void); | 65 | extern 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 */ |
86 | extern int getspent_r(struct spwd *__result_buf, char *__buffer, | 86 | extern 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 | ||
89 | extern int getspnam_r(const char *__name, struct spwd *__result_buf, | 90 | extern 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 | ||
93 | extern int sgetspent_r(const char *__string, struct spwd *__result_buf, | 95 | extern 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 */ |
104 | extern int ulckpwdf(void); | 106 | extern int ulckpwdf(void); |
107 | #endif | ||
105 | 108 | ||
106 | POP_SAVED_FUNCTION_VISIBILITY | 109 | POP_SAVED_FUNCTION_VISIBILITY |
107 | 110 | ||