aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jo_main.c8
-rw-r--r--src/jo_main.h6
-rw-r--r--src/jo_printf.c8
-rw-r--r--src/jo_printf.h6
4 files changed, 28 insertions, 0 deletions
diff --git a/src/jo_main.c b/src/jo_main.c
new file mode 100644
index 0000000..ee3c400
--- /dev/null
+++ b/src/jo_main.c
@@ -0,0 +1,8 @@
+#include <jo_main.h>
+
+int
+main(void)
+{
+ jo_printf();
+ return (0);
+}
diff --git a/src/jo_main.h b/src/jo_main.h
new file mode 100644
index 0000000..3a3359c
--- /dev/null
+++ b/src/jo_main.h
@@ -0,0 +1,6 @@
+#ifndef JO_MAIN_H
+#define JO_MAIN_H
+
+#include <jo_printf.h>
+
+#endif
diff --git a/src/jo_printf.c b/src/jo_printf.c
new file mode 100644
index 0000000..facdaa1
--- /dev/null
+++ b/src/jo_printf.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include <jo_printf.h>
+
+void
+jo_printf(void)
+{
+ printf("Hey!\n");
+}
diff --git a/src/jo_printf.h b/src/jo_printf.h
new file mode 100644
index 0000000..60fdc99
--- /dev/null
+++ b/src/jo_printf.h
@@ -0,0 +1,6 @@
+#ifndef JO_PRINTF_H
+#define JO_PRINTF_H
+
+void jo_printf(void);
+
+#endif