diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-03-22 07:12:05 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-03-22 07:12:05 +0000 |
commit | ec5bd90916b6e815a36c14ac04d1b78e3e487400 (patch) | |
tree | 3602e12b02fe289306dccfb27fba31fda53db690 /internal.h | |
parent | 016ffe93077975b01e84493d7cc303f78f70441a (diff) | |
download | busybox-w32-ec5bd90916b6e815a36c14ac04d1b78e3e487400.tar.gz busybox-w32-ec5bd90916b6e815a36c14ac04d1b78e3e487400.tar.bz2 busybox-w32-ec5bd90916b6e815a36c14ac04d1b78e3e487400.zip |
Use the nice new find_real_root_device function to find the
name of the root device, instead of having libc read whatever
lies happen to be in /etc/mtab.
-Erik
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 353ec8ca3..9f9461def 100644 --- a/internal.h +++ b/internal.h | |||
@@ -216,6 +216,8 @@ extern int check_wildcard_match(const char* text, const char* pattern); | |||
216 | extern long getNum (const char *cp); | 216 | extern long getNum (const char *cp); |
217 | extern pid_t findPidByName( char* pidName); | 217 | extern pid_t findPidByName( char* pidName); |
218 | extern void *xmalloc (size_t size); | 218 | extern void *xmalloc (size_t size); |
219 | extern int find_real_root_device_name(char* name); | ||
220 | |||
219 | #ifdef BB_FEATURE_SH_COMMAND_EDITING | 221 | #ifdef BB_FEATURE_SH_COMMAND_EDITING |
220 | #include <stdio.h> | 222 | #include <stdio.h> |
221 | extern int cmdedit_read_input(char* prompt, int inputFd, int outputFd, char command[BUFSIZ]); | 223 | extern int cmdedit_read_input(char* prompt, int inputFd, int outputFd, char command[BUFSIZ]); |