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) |
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); extern long getNum (const char *cp); extern pid_t findPidByName( char* pidName); extern void *xmalloc (size_t size); +extern int find_real_root_device_name(char* name); + #ifdef BB_FEATURE_SH_COMMAND_EDITING #include <stdio.h> extern int cmdedit_read_input(char* prompt, int inputFd, int outputFd, char command[BUFSIZ]); |