]> mj.ucw.cz Git - libucw.git/blobdiff - lib/ff-printf.c
First bits of installation of .pc files.
[libucw.git] / lib / ff-printf.c
index 769f830e1cd5423e7db5e80831bc090ba67e98b0..0493092e6a0f4f57c482dee64f2f2abc0f43eb4d 100644 (file)
 #include "lib/lib.h"
 #include "lib/fastbuf.h"
 
+#include <stdio.h>
 #include <alloca.h>
 
 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;