Move DEBUG macro to own header to be a standalone helper

This commit is contained in:
Pablo Marcos Oltra 2018-01-06 19:09:53 +01:00
parent 2f04ad81c6
commit 2796ea1f5f
4 changed files with 17 additions and 9 deletions

View file

@ -1,9 +1,8 @@
#ifndef CHEKRT_H
#define CHECKRT_H
extern char *optional;
extern char *optional_ld_preload;
extern void checkrt(char *usr_in_appdir);
extern int debug_flag;
#define DEBUG(...) do { \
if (debug_flag) \
printf(__VA_ARGS__); \
} while (0)
#endif