summaryrefslogtreecommitdiff
path: root/device/device_init.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:53:39 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 05:58:40 +0900
commitfc1923a79c2f4e0b3a64792ff423cbd75d05108b (patch)
tree8143b91a2fefd81d2dd8d7c10b7f3f6e316bb1f6 /device/device_init.c
parent63e9b4ccc348a9e033b66ab5a2dc3cb7b3e15d5a (diff)
device/device_init.c: remove forward declarations
* device/dev_lookup.c: Include device/ds_routines.h. * device/device_init.c: Include device/ds_routines.h. Include device/net_io.h. (mach_device_init, dev_lookup_init, net_io_init, device_pager_init, io_done_thread, net_thread): Remove forward declarations. * device/ds_routines.h (mach_device_init, dev_lookup_init, device_pager_init, io_done_thread): Add prototypes. * device/net_io.h (net_io_init, net_thread): Add prototypes.
Diffstat (limited to 'device/device_init.c')
-rw-r--r--device/device_init.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/device/device_init.c b/device/device_init.c
index e43a2a9..701898b 100644
--- a/device/device_init.c
+++ b/device/device_init.c
@@ -38,16 +38,10 @@
#include <device/device_types.h>
#include <device/device_port.h>
#include <device/tty.h>
+#include <device/ds_routines.h>
+#include <device/net_io.h>
-extern void mach_device_init();
-extern void dev_lookup_init();
-extern void net_io_init();
-extern void device_pager_init();
-
-extern void io_done_thread();
-extern void net_thread();
-
ipc_port_t master_device_port;
void