device_open is common code -- moved into utility.c

-Erik
This commit is contained in:
Erik Andersen
2000-02-07 20:31:19 +00:00
parent 79ac30da83
commit 31cf8e0056
6 changed files with 25 additions and 76 deletions

View File

@ -183,6 +183,9 @@ extern char *mtab_getinfo(const char *match, const char which);
extern int check_wildcard_match(const char* text, const char* pattern);
extern long getNum (const char *cp);
extern pid_t findInitPid();
#if defined BB_INIT || defined BB_SYSLOGD
extern int device_open(char *device, int mode)
#endif
#if defined BB_FEATURE_MOUNT_LOOP
extern int del_loop(const char *device);