2 * On-screen Display Daemon -- Utility Functions
4 * (c) 2010 Martin Mares <mj@ucw.cz>
7 #define NONRET __attribute__((noreturn))
8 #define FORMAT_CHECK(func,i,j) __attribute__((format(func,i,j)))
10 void NONRET FORMAT_CHECK(printf,1,2) die(char *fmt, ...);
13 #define DBG(f...) printf(f)
15 #define DBG(f...) do { } while(0)
18 void *xmalloc(int size);