blob: 3e52f752091f52c7f74dcedd16cfa47b25487603 (
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. */
#ifndef TEST
# ifdef USE_EXTERN_INLINE
# include "common.h"
extern inline int liblog_uncork(struct liblog_context *);
# else
# define liblog_uncork liblog__dont_want__
# include "common.h"
# undef liblog_uncork
int
liblog_uncork(struct liblog_context *ctx)
{ return liblog_xlog(ctx, 0, LIBLOG_XLOG_NO_BACKTRACE | LIBLOG_XLOG_NO_TEXT | LIBLOG_XLOG_UNCORK | XLOG_NOT_INLINE, NULL); }
# endif
#else
# include "common.h"
int main(void) {return 0;} /* TODO test */
#endif
|