summaryrefslogtreecommitdiffstats
path: root/makefile-so/clib.c
diff options
context:
space:
mode:
Diffstat (limited to 'makefile-so/clib.c')
-rw-r--r--makefile-so/clib.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/makefile-so/clib.c b/makefile-so/clib.c
new file mode 100644
index 0000000..e624baa
--- /dev/null
+++ b/makefile-so/clib.c
@@ -0,0 +1,18 @@
+
+#include "clib.h"
+
+void _init()
+{
+ printf(" _init()\n");
+}
+
+void _fini()
+{
+ printf(" _fini()\n");
+}
+
+void say_hello(FILE *stream)
+{
+ fprintf(stream,"hello world\n");
+}
+