Commit 62c68668 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix compilation on pre-C99 non-GNUC systems.

parent 497eeb51
...@@ -79,6 +79,8 @@ int daemonise(void); ...@@ -79,6 +79,8 @@ int daemonise(void);
if(debug >= 3) do_debugf(3, _args); \ if(debug >= 3) do_debugf(3, _args); \
} while(0) } while(0)
#else #else
#define debugf do_debugf /* Disable debugging code */
static void debugf(const char *format, ...) { return; }
static void kdebugf(const char *format, ...) { return; }
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment