summaryrefslogtreecommitdiff
path: root/library/hello-orig.c
diff options
context:
space:
mode:
Diffstat (limited to 'library/hello-orig.c')
-rw-r--r--library/hello-orig.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/library/hello-orig.c b/library/hello-orig.c
new file mode 100644
index 0000000..fdb81b3
--- /dev/null
+++ b/library/hello-orig.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+int print_hello (char *name)
+{
+ return printf ("Hello %s!\n", (name) ? name : "world");
+}