md4c

C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
git clone https://noulin.net/git/md4c.git
Log | Files | Refs | README | LICENSE

commit 0d10f6dbe26117ca84943d3518c2879193e55c5e
parent bc52610ebc21cd175c77e05d13480de8fd683b82
Author: tin-pot <mh@tin-pot.net>
Date:   Mon,  5 Dec 2016 12:34:29 +0100

md2html.c: No need for <stdint.h>

Diffstat:
Mmd2html/md2html.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/md2html/md2html.c b/md2html/md2html.c @@ -24,7 +24,6 @@ */ #include <stdio.h> -#include <stdint.h> #include <stdlib.h> #include <string.h> #include <time.h> @@ -141,7 +140,7 @@ membuf_append_escaped(struct membuffer* buf, const char* data, MD_SIZE size) static void membuf_append_url_escaped(struct membuffer* buf, const char* data, MD_SIZE size) { - static const uint8_t hex_chars[] = "0123456789ABCDEF"; + static const char hex_chars[] = "0123456789ABCDEF"; MD_OFFSET beg = 0; MD_OFFSET off = 0;