summaryrefslogtreecommitdiffstats
path: root/liblog_trace__.c
blob: 3ed9462c83f0614600fb2a63588014c18c9f9776 (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
25
/* 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, backtrace (liblog_trace__) will not be replacable
#endif

__attribute__((__const__))
int
liblog_trace__(char **textp, size_t *offsetp, size_t *allocsizep, size_t skip, void *saved_trace) /* (TODO impl) */
{
	(void) textp;
	(void) offsetp;
	(void) allocsizep;
	(void) skip;
	(void) saved_trace;
	return 0;
}

#else

int main(void) {return 0;} /* TODO test */

#endif