X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fff-printf.c;h=0493092e6a0f4f57c482dee64f2f2abc0f43eb4d;hb=534019614dd611e7df29a0c8c59f2a869a2c0c39;hp=769f830e1cd5423e7db5e80831bc090ba67e98b0;hpb=01a353ec6f528d5320b5f5ac17ee80d37ed901bf;p=libucw.git diff --git a/lib/ff-printf.c b/lib/ff-printf.c index 769f830e..0493092e 100644 --- a/lib/ff-printf.c +++ b/lib/ff-printf.c @@ -10,10 +10,11 @@ #include "lib/lib.h" #include "lib/fastbuf.h" +#include #include int -vbprintf(struct fastbuf *b, char *msg, va_list args) +vbprintf(struct fastbuf *b, const char *msg, va_list args) { byte *buf; int len, r; @@ -57,7 +58,7 @@ vbprintf(struct fastbuf *b, char *msg, va_list args) } int -bprintf(struct fastbuf *b, char *msg, ...) +bprintf(struct fastbuf *b, const char *msg, ...) { va_list args; int res;