From ed004cba0e8d1d383def76f795b1e63ba0aaa89a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 9 Feb 2025 15:04:27 +0100 Subject: First commit (everything was written 2024) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- liblog_whence__.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 liblog_whence__.c (limited to 'liblog_whence__.c') 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 -- cgit v1.2.3-70-g09d2