summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 4340d76..ce868c8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -15,7 +15,7 @@ void print_usage()
printf(" --version Print version\n");
}
-static void print_document(node_block *document, bool ast)
+static void print_document(cmark_node *document, bool ast)
{
unsigned char *result;
if (ast) {
@@ -36,7 +36,7 @@ int main(int argc, char *argv[])
unsigned char buffer[4096];
cmark_doc_parser *parser;
size_t offset;
- node_block *document;
+ cmark_node *document;
parser = cmark_new_doc_parser();
files = (int *)malloc(argc * sizeof(*files));