From: Andy Spencer Date: Tue, 6 Aug 2013 05:21:41 +0000 (+0000) Subject: Fix build errors X-Git-Url: http://pileus.org/git/?p=~andy%2Fct;a=commitdiff_plain;h=ac5b819473cd4af813cc64970b02395b208f0ed8 Fix build errors --- diff --git a/gallery/html.ct b/gallery/html.ct index 20bd065..bd3edae 100644 --- a/gallery/html.ct +++ b/gallery/html.ct @@ -72,8 +72,8 @@ <% for (GList *cur = images; cur; cur = cur->next) { %> <% gchar *img = (gchar *)cur->data; %>
- "> - "> + "> + ">
<% } %> @@ -83,8 +83,8 @@ <% void frame_show(char *this, char *link, char *image){ %> - "> - "> + "> + "> diff --git a/lib.c b/lib.c index 90e698b..5aad3ff 100644 --- a/lib.c +++ b/lib.c @@ -73,6 +73,7 @@ void ct_use_escape() register_printf_specifier('M', printf_markup, printf_markup_arginfo); } +#ifdef TEST int main(void) { ct_use_escape(); @@ -81,3 +82,4 @@ int main(void) printf("%M\n", ""); return 0; } +#endif