summaryrefslogtreecommitdiff
path: root/utils/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/log.h')
-rw-r--r--utils/log.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/log.h b/utils/log.h
index 0e73f4d37..50ceac0b1 100644
--- a/utils/log.h
+++ b/utils/log.h
@@ -43,6 +43,7 @@ typedef bool(nslog_ensure_t)(FILE *fptr);
*/
extern nserror nslog_init(nslog_ensure_t *ensure, int *pargc, char **argv);
+/* ensure a logging level is defined */
#ifndef NETSURF_LOG_LEVEL
#define NETSURF_LOG_LEVEL INFO
#endif
@@ -56,6 +57,7 @@ extern nserror nslog_init(nslog_ensure_t *ensure, int *pargc, char **argv);
#include <nslog/nslog.h>
NSLOG_DECLARE_CATEGORY(netsurf);
+NSLOG_DECLARE_CATEGORY(llcache);
#else /* WITH_NSLOG */
@@ -89,8 +91,6 @@ extern void nslog_log(const char *file, const char *func, int ln, const char *fo
} \
} while(0)
-#define NSLOG_DEFINE_CATEGORY(catname, description)
-
#endif /* WITH_NSLOG */
#endif