summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorErik Andersen2000-02-07 20:31:19 +0000
committerErik Andersen2000-02-07 20:31:19 +0000
commit31cf8e00563a399768db0edda94ce1358e386dfa (patch)
tree63215d88f4f83e023ca889ff97545fe6d6df2686 /internal.h
parent79ac30da83dfb16babbfc6d450a421f91752b3c8 (diff)
downloadbusybox-31cf8e00563a399768db0edda94ce1358e386dfa.zip
busybox-31cf8e00563a399768db0edda94ce1358e386dfa.tar.gz
device_open is common code -- moved into utility.c
-Erik
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 79e6a03..5053e69 100644
--- a/internal.h
+++ b/internal.h
@@ -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);