From: ellson Date: Tue, 25 Apr 2006 16:27:15 +0000 (+0000) Subject: Janitor - add "void" to suppress "warning: function declaration isn't a prototype" X-Git-Tag: LAST_LIBGRAPH~32^2~6684 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d1299349e374912571e60eac1376f55d09e8d35;p=graphviz Janitor - add "void" to suppress "warning: function declaration isn't a prototype" --- diff --git a/lib/common/htmlparse.y b/lib/common/htmlparse.y index de2025706..f23e818eb 100644 --- a/lib/common/htmlparse.y +++ b/lib/common/htmlparse.y @@ -316,7 +316,7 @@ mkText (const char* lastl) #endif static htmltxt_t* -mkText() +mkText(void) { int cnt; Dt_t * iline = HTMLstate.flineList; @@ -436,7 +436,7 @@ static htmllabel_t* mkLabel (void* obj, int kind) * put on artificially during in parseHTML. */ static void -freeFontstack() +freeFontstack(void) { sfont_t* s; sfont_t* next; @@ -520,7 +520,7 @@ pushFont (htmlfont_t *f) /* popFont: */ static void -popFont () +popFont (void) { sfont_t* curfont = HTMLstate.fontstack; sfont_t* prevfont = curfont->pfont;