Soft'N'Design Software
/
projects
/
compress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove calls to standard fprintf function
[compress.git]
/
code.c
diff --git
a/code.c
b/code.c
index 17ef4d0ef9b43f07d40d6d19bc6ae4ceba758a86..6f04c182c78267dd6f5e5a0124a6cc59764fe5f1 100644
(file)
--- a/
code.c
+++ b/
code.c
@@
-1,6
+1,8
@@
#include <stddef.h>
#include <stdio.h>
#include <stddef.h>
#include <stdio.h>
+
#include "debug.h"
#include "debug.h"
+#include "fprintf.h"
#include "code.h"
#include "code.h"
@@
-44,7
+46,7
@@
int codcpy (char *dst, size_t n, char *src)
return i;
}
}
return i;
}
}
- VERBOSE (ERROR,
printf (
"Buffer too short\n"));
+ VERBOSE (ERROR,
_fprintf (stdout,
"Buffer too short\n"));
return -1;
}
return -1;
}
@@
-62,4
+64,4
@@
int codlen (char *code)
return i;
}
return i;
}
-/
/ vim: ts=4 sw=4 et
+/
* vim: set ts=4 sw=4 et */