From 4142d4dc661c85b731c21b3296a04d1c5b5c3367 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 27 Feb 2001 18:22:03 +0000 Subject: Patch from Vladimir N. Oleynik to save 128 bytes by moving error checking for some my_* functions to utility.c --- include/busybox.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/busybox.h b/include/busybox.h index 8d4976a4b..53d22115a 100644 --- a/include/busybox.h +++ b/include/busybox.h @@ -175,11 +175,11 @@ extern unsigned long parse_number(const char *numstr, /* These parse entries in /etc/passwd and /etc/group. This is desirable * for BusyBox since we want to avoid using the glibc NSS stuff, which * increases target size and is often not needed embedded systems. */ -extern long my_getpwnam(char *name); -extern long my_getgrnam(char *name); +extern long my_getpwnam(const char *name); +extern long my_getgrnam(const char *name); extern void my_getpwuid(char *name, long uid); extern void my_getgrgid(char *group, long gid); -extern long my_getpwnamegid(char *name); +extern long my_getpwnamegid(const char *name); extern int device_open(char *device, int mode); -- cgit v1.2.3