summaryrefslogtreecommitdiffstats
path: root/liblog_whence__.c
blob: 767987d13f659efe5447b9658b40646e59efc799 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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