aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-08-03 00:14:02 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-08-03 00:14:02 +0000
commit3c6bc4553ea4d75f124941564f466c824740e80c (patch)
treeb8a572b7a2ccc68c5edad3a9691fbb017d7a39ae /include/libbb.h
parent40304269cee11f7e26277eee21fa43593a0244cc (diff)
downloadbusybox-w32-3c6bc4553ea4d75f124941564f466c824740e80c.tar.gz
busybox-w32-3c6bc4553ea4d75f124941564f466c824740e80c.tar.bz2
busybox-w32-3c6bc4553ea4d75f124941564f466c824740e80c.zip
Tito, farmatito at tiscali dot it writes:
Hi to all, This patch is useful for: 1) remove an unused var from extern char *find_real_root_device_name(const char* name) changing it to extern char *find_real_root_device_name(void). 2) fixes include/libbb.h, coreutils/df.c, util-linux/mount.c and util-linux/umount.c accordingly. 3) fixes a bug, really a false positive, in find_real_root_device_name() that happens if in the /dev directory exists a link named root (/dev/root) that should be skipped but is not. This affects applets like df that display wrong results git-svn-id: svn://busybox.net/trunk/busybox@9056 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index c52e65555..afbd0203e 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -134,7 +134,7 @@ extern void write_mtab(char* blockDevice, char* directory,
134 char* filesystemType, long flags, char* string_flags); 134 char* filesystemType, long flags, char* string_flags);
135extern void erase_mtab(const char * name); 135extern void erase_mtab(const char * name);
136extern long *find_pid_by_name( const char* pidName); 136extern long *find_pid_by_name( const char* pidName);
137extern char *find_real_root_device_name(const char* name); 137extern char *find_real_root_device_name(void);
138extern char *bb_get_line_from_file(FILE *file); 138extern char *bb_get_line_from_file(FILE *file);
139extern char *bb_get_chomped_line_from_file(FILE *file); 139extern char *bb_get_chomped_line_from_file(FILE *file);
140extern int bb_copyfd_size(int fd1, int fd2, const off_t size); 140extern int bb_copyfd_size(int fd1, int fd2, const off_t size);