summaryrefslogtreecommitdiffstats
path: root/liblog_whence__.c
diff options
context:
space:
mode:
Diffstat (limited to 'liblog_whence__.c')
-rw-r--r--liblog_whence__.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/liblog_whence__.c b/liblog_whence__.c
new file mode 100644
index 0000000..767987d
--- /dev/null
+++ b/liblog_whence__.c
@@ -0,0 +1,24 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+#ifndef TEST
+
+#ifdef WEAK_LINKING_FAILED
+# warning Do not know how to create weak linking, source determination (liblog_whence__) will not be replacable
+#endif
+
+int
+liblog_whence__(char **file_out, off_t *line_out, char **function_out, size_t skip, void **trace_save_out) /* (TODO impl) */
+{
+ *file_out = NULL;
+ *line_out = -1;
+ *function_out = NULL;
+ (void) skip;
+ *trace_save_out = NULL;
+ return 0;
+}
+
+#else
+
+int main(void) {return 0;} /* TODO test */
+
+#endif