--- a/src/c2html.c Thu Aug 25 12:16:57 2016 +0200 +++ b/src/c2html.c Fri Aug 26 13:49:19 2016 +0200 @@ -26,7 +26,11 @@ * POSSIBILITY OF SUCH DAMAGE. * */ + +#include <unistd.h> + #include "c2html.h" +#include "highlighter.h" #include "ucx/list.h" @@ -45,14 +49,6 @@ "\n"); } -static void plain_highlighter(char *src, UcxBuffer *dest, HighlighterData *hd) { - while (*src && *src != '\n') { - put_htmlescaped(dest, *src); - src++; - } - ucx_buffer_putc(dest, '\n'); -} - void formatlines(highlighter_func highlighter, UcxList *in, write_func out, void *stream, int showlineno) {