~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use fatal macro
[disorder]
/
lib
/
log.h
diff --git
a/lib/log.h
b/lib/log.h
index
4d91008
..
ecabd30
100644
(file)
--- a/
lib/log.h
+++ b/
lib/log.h
@@
-67,7
+67,13
@@
extern struct log_output log_stderr, log_syslog, *log_default;
extern const char *debug_filename;
extern int debug_lineno;
extern const char *debug_filename;
extern int debug_lineno;
+extern int logdate;
+/** @brief Issue a debug message if debugging is turned on
+ * @param x Parenthesized debug arguments
+ *
+ * Use in the format: D(("format string", arg, arg, ...));
+ */
#define D(x) do { \
if(debugging) { \
debug_filename=__FILE__; \
#define D(x) do { \
if(debugging) { \
debug_filename=__FILE__; \