summaryrefslogtreecommitdiffstats
path: root/makefile-so/clib.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-04-16 09:40:09 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-04-16 09:40:09 +0200
commit2224f05d43a0d782b626d09f397767597b3d7f4f (patch)
tree48db4a61f2fe98ade733c57af102c912f475473b /makefile-so/clib.c
parent3c54b36fa04a7c54bb685705397ce3eac707f956 (diff)
downloadskeletons-2224f05d43a0d782b626d09f397767597b3d7f4f.zip
skeletons-2224f05d43a0d782b626d09f397767597b3d7f4f.tar.gz
add makefile-so
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");
+}
+