chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@@@ tty mess
[mLib]
/
codec
/
baseconv.c
diff --git
a/codec/baseconv.c
b/codec/baseconv.c
index 53fceb2818eb4039f83ec24659782d5c168da793..53949bb8ddb0f2c492828d245a30cb7f1c9e749b 100644
(file)
--- a/
codec/baseconv.c
+++ b/
codec/baseconv.c
@@
-28,8
+28,6
@@
/*----- Header files ------------------------------------------------------*/
#include <ctype.h>
/*----- Header files ------------------------------------------------------*/
#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include "alloc.h"
#include <string.h>
#include "alloc.h"
@@
-419,7
+417,7
@@
static int ctxn##_dec(codec *c, const void *p, size_t sz, dstr *d) \
static void ctxn##_destroy(codec *c) \
{ \
ctxn##_codec *bc = (ctxn##_codec *)c; \
static void ctxn##_destroy(codec *c) \
{ \
ctxn##_codec *bc = (ctxn##_codec *)c; \
- if (bc->ctx.indent) xfree(
(/*unconst*/ char *)bc->ctx.indent);
\
+ if (bc->ctx.indent) xfree(
UNCONST(char, bc->ctx.indent));
\
DESTROY(bc); \
} \
\
DESTROY(bc); \
} \
\