Make libdebug not depend on libdisplay

This commit is contained in:
Andreas Eversberg
2018-02-15 07:27:49 +01:00
parent 6277753574
commit f91e6f5034
6 changed files with 21 additions and 23 deletions

View File

@@ -25,6 +25,8 @@
#define DUHD 18
#define DSOAPY 19
void get_win_size(int *w, int *h);
#define PDEBUG(cat, level, fmt, arg...) _printdebug(__FILE__, __FUNCTION__, __LINE__, cat, level, -1, fmt, ## arg)
#define PDEBUG_CHAN(cat, level, fmt, arg...) _printdebug(__FILE__, __FUNCTION__, __LINE__, cat, level, CHAN, fmt, ## arg)
void _printdebug(const char *file, const char *function, int line, int cat, int level, int chan, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 7, 8)));