summaryrefslogtreecommitdiff
path: root/schulung_tools/linking/helloat/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'schulung_tools/linking/helloat/hello.c')
-rw-r--r--schulung_tools/linking/helloat/hello.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/schulung_tools/linking/helloat/hello.c b/schulung_tools/linking/helloat/hello.c
new file mode 100644
index 0000000..82b8d53
--- /dev/null
+++ b/schulung_tools/linking/helloat/hello.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+
+void func1(void);
+void func2(void);
+
+int main(void)
+{
+ func1();
+ printf("Hello, world!\n");
+ func2();
+ return 0;
+}