X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/babfe3e260c345c06201516d990155ca8aba49e3..39d3d9002fc5eb3a66e926af9e5350030762add9:/bk_ps.c diff --git a/bk_ps.c b/bk_ps.c index a3d80a7..452d562 100644 --- a/bk_ps.c +++ b/bk_ps.c @@ -13,7 +13,6 @@ #define PS_MAXWIDTH 255 static void ps_comment(FILE *fp, char const *leader, word *words); -static void ps_token(FILE *fp, int *cc, char const *fmt, ...); static void ps_string_len(FILE *fp, int *cc, char const *str, int len); static void ps_string(FILE *fp, int *cc, char const *str); @@ -352,7 +351,7 @@ static void ps_comment(FILE *fp, char const *leader, word *words) { fprintf(fp, "\n"); } -static void ps_token(FILE *fp, int *cc, char const *fmt, ...) { +void ps_token(FILE *fp, int *cc, char const *fmt, ...) { va_list ap; va_start(ap, fmt);