diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/include/libbb.h b/include/libbb.h index 3fb62e96b..b9794779d 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -221,16 +221,14 @@ extern unsigned long bb_xparse_number(const char *numstr, | |||
221 | const struct suffix_mult *suffixes); | 221 | const struct suffix_mult *suffixes); |
222 | 222 | ||
223 | 223 | ||
224 | //#warning change names? | ||
225 | |||
226 | /* These parse entries in /etc/passwd and /etc/group. This is desirable | 224 | /* These parse entries in /etc/passwd and /etc/group. This is desirable |
227 | * for BusyBox since we want to avoid using the glibc NSS stuff, which | 225 | * for BusyBox since we want to avoid using the glibc NSS stuff, which |
228 | * increases target size and is often not needed embedded systems. */ | 226 | * increases target size and is often not needed on embedded systems. */ |
229 | extern long my_getpwnam(const char *name); | 227 | extern long bb_xgetpwnam(const char *name); |
230 | extern long my_getgrnam(const char *name); | 228 | extern long bb_xgetgrnam(const char *name); |
231 | extern char * my_getug(char *buffer, char *idname, long id, int bufsize, char prefix); | 229 | extern char * bb_getug(char *buffer, char *idname, long id, int bufsize, char prefix); |
232 | extern char * my_getpwuid(char *name, long uid, int bufsize); | 230 | extern char * bb_getpwuid(char *name, long uid, int bufsize); |
233 | extern char * my_getgrgid(char *group, long gid, int bufsize); | 231 | extern char * bb_getgrgid(char *group, long gid, int bufsize); |
234 | extern char *bb_askpass(int timeout, const char * prompt); | 232 | extern char *bb_askpass(int timeout, const char * prompt); |
235 | 233 | ||
236 | extern int device_open(const char *device, int mode); | 234 | extern int device_open(const char *device, int mode); |
@@ -471,7 +469,7 @@ extern void print_login_prompt(void); | |||
471 | extern void vfork_daemon_rexec(int nochdir, int noclose, | 469 | extern void vfork_daemon_rexec(int nochdir, int noclose, |
472 | int argc, char **argv, char *foreground_opt); | 470 | int argc, char **argv, char *foreground_opt); |
473 | extern int get_terminal_width_height(int fd, int *width, int *height); | 471 | extern int get_terminal_width_height(int fd, int *width, int *height); |
474 | extern unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *)); | 472 | extern unsigned long get_ug_id(const char *s, long (*__bb_getxxnam)(const char *)); |
475 | 473 | ||
476 | #define HASH_SHA1 1 | 474 | #define HASH_SHA1 1 |
477 | #define HASH_MD5 2 | 475 | #define HASH_MD5 2 |