aboutsummaryrefslogtreecommitdiffhomepage
path: root/development/ldso/samename/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'development/ldso/samename/lib.c')
-rw-r--r--development/ldso/samename/lib.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/development/ldso/samename/lib.c b/development/ldso/samename/lib.c
new file mode 100644
index 0000000..d467d7f
--- /dev/null
+++ b/development/ldso/samename/lib.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+#ifndef NAME
+#define NAME __FILE_NAME__
+#endif
+
+void moose() {
+ puts(NAME " says moose");
+}