mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 18:21:54 +00:00
83131f3fa5
Add test/birdtest_support.h for provisional hack a build system
26 lines
518 B
C
26 lines
518 B
C
#include "lib/event.c" /* REMOVE ME */
|
|
#include "lib/ip.c" /* REMOVE ME */
|
|
#include "lib/resource.c" /* REMOVE ME */
|
|
#include "lib/printf.c" /* REMOVE ME */
|
|
#include "lib/xmalloc.c" /* REMOVE ME */
|
|
#include "lib/bitops.c" /* REMOVE ME */
|
|
|
|
void
|
|
debug(const char *msg, ...)
|
|
{
|
|
va_list argptr;
|
|
va_start(argptr, msg);
|
|
vfprintf(stderr, msg, argptr);
|
|
va_end(argptr);
|
|
};
|
|
|
|
void
|
|
die(const char *msg, ...)
|
|
{
|
|
va_list argptr;
|
|
va_start(argptr, msg);
|
|
vfprintf(stderr, msg, argptr);
|
|
va_end(argptr);
|
|
exit(3);
|
|
};
|