sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-08-28 05:57:34 +00:00
commit 88965415ff
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
26235 changed files with 29195616 additions and 0 deletions

View file

@ -0,0 +1,23 @@
#ifndef IN_DEBUG_H
#define IN_DEBUG_H
#if 0
# define PRINT_DEBUG
#endif
#if 0
# define OUTPUT_FILE "/dev/console"
#else
# define OUTPUT_FILE NULL
#endif
extern int OpenConsole(const char *filenm);
extern void ConsoleMessage(const char *fmt, ...)
__attribute__ ((__format__ (__printf__, 1, 2)));
extern void ConsoleDebug(int flag, const char *fmt, ...)
__attribute__ ((__format__ (__printf__, 2, 3)));
extern int CORE, FUNCTIONS, X11, FVWM, CONFIG, WINLIST, MEM;
#endif