aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-27 18:22:03 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-27 18:22:03 +0000
commitcacea0233bbefdffd1e09283fbc4e385abef19c2 (patch)
tree11f7cf83505eb63db8e5dfaa47c5d5b8b81e6176 /include
parent9563d47ea01feb950ed80c8f79b7854e582e47e1 (diff)
downloadbusybox-w32-cacea0233bbefdffd1e09283fbc4e385abef19c2.tar.gz
busybox-w32-cacea0233bbefdffd1e09283fbc4e385abef19c2.tar.bz2
busybox-w32-cacea0233bbefdffd1e09283fbc4e385abef19c2.zip
Patch from Vladimir N. Oleynik to save 128 bytes by moving error
checking for some my_* functions to utility.c git-svn-id: svn://busybox.net/trunk/busybox@1940 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/busybox.h6
1 files changed, 3 insertions, 3 deletions
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,
175/* These parse entries in /etc/passwd and /etc/group. This is desirable 175/* These parse entries in /etc/passwd and /etc/group. This is desirable
176 * for BusyBox since we want to avoid using the glibc NSS stuff, which 176 * for BusyBox since we want to avoid using the glibc NSS stuff, which
177 * increases target size and is often not needed embedded systems. */ 177 * increases target size and is often not needed embedded systems. */
178extern long my_getpwnam(char *name); 178extern long my_getpwnam(const char *name);
179extern long my_getgrnam(char *name); 179extern long my_getgrnam(const char *name);
180extern void my_getpwuid(char *name, long uid); 180extern void my_getpwuid(char *name, long uid);
181extern void my_getgrgid(char *group, long gid); 181extern void my_getgrgid(char *group, long gid);
182extern long my_getpwnamegid(char *name); 182extern long my_getpwnamegid(const char *name);
183 183
184extern int device_open(char *device, int mode); 184extern int device_open(char *device, int mode);
185 185