summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorAditya Naik2020-08-05 12:07:53 -0400
committerAditya Naik2020-08-05 12:07:53 -0400
commit6fc56b1dfe07bebe4184a8cecbfbd3c50466bfe0 (patch)
tree94761159de5c488832056a1142ff3a59e716cb0e /ports
parent5154fdecac5260ea3a2fd6416c1186eb4d609449 (diff)
Changes and stuff
Diffstat (limited to 'ports')
-rw-r--r--ports/posix/makefile3
-rw-r--r--ports/posix/src/port.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/posix/makefile b/ports/posix/makefile
index 91e0792..6b9367e 100644
--- a/ports/posix/makefile
+++ b/ports/posix/makefile
@@ -10,4 +10,5 @@ C_INCLUDES += \
C_SOURCES += \
lib/FreeRTOS/FreeRTOS/Source/portable/ThirdParty/GCC/Posix/port.c \
-ports/posix/src/stream_stdio.c
+ports/posix/src/stream_stdio.c \
+ports/posix/src/port_devices.c
diff --git a/ports/posix/src/port.h b/ports/posix/src/port.h
index 01d1fb1..6f10699 100644
--- a/ports/posix/src/port.h
+++ b/ports/posix/src/port.h
@@ -11,5 +11,8 @@
#include <mqueue.h>
#include <stdint.h>
#include <errno.h>
+#include "stream.h"
+
+int initialize_devices(int num_devices, p_stream_t *streams);
#endif