summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inlines.c4
-rw-r--r--src/main.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 364f117..71e577b 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -9,7 +9,6 @@
#include "utf8.h"
#include "scanners.h"
#include "inlines.h"
-#include "debug.h"
typedef struct DelimiterStack {
@@ -155,7 +154,8 @@ extern void free_inlines(node_inl* e)
splice_into_list(e, e->content.inlines);
break;
default:
- log_warn("Unknown inline tag %d", e->tag);
+ fprintf(stderr, "[WARN] (%s:%d) Unknown inline tag %d",
+ __FILE__, __LINE__, e->tag);
break;
}
next = e->next;
diff --git a/src/main.c b/src/main.c
index b2404f6..e3b58d5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,8 +1,8 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <errno.h>
#include "cmark.h"
-#include "debug.h"
void print_usage()
{