From 2269acccfb754c9c326c45b15aeabdecbca7b775 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Wed, 18 May 2016 15:48:35 +0200 Subject: add autotools stuff from bene Signed-off-by: Manuel Traut --- library/hello.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 library/hello.c (limited to 'library/hello.c') diff --git a/library/hello.c b/library/hello.c new file mode 100644 index 0000000..b5f3dae --- /dev/null +++ b/library/hello.c @@ -0,0 +1,10 @@ +#if HAVE_CONFIG_H +#include "config.h" +#endif /* HAVE_CONFIG_H */ + +#include + +int print_hello (char *name) +{ + return printf ("Hello %s!\n", (name) ? name : "world"); +} -- cgit v1.2.3