/* 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