• make DEBUG:dumpchar() not static (consider rolling into shf?)
This commit is contained in:
parent
d07bacd44a
commit
d4e19b6624
3
sh.h
3
sh.h
@ -154,7 +154,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef EXTERN
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.446 2011/03/16 20:26:36 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.447 2011/03/17 21:58:38 tg Exp $");
|
||||
#endif
|
||||
#define MKSH_VERSION "R39 2011/03/16"
|
||||
|
||||
@ -1751,6 +1751,7 @@ char *wdcopy(const char *, Area *);
|
||||
const char *wdscan(const char *, int);
|
||||
char *wdstrip(const char *, bool, bool);
|
||||
void tfree(struct op *, Area *);
|
||||
void dumpchar(struct shf *, int);
|
||||
void dumptree(struct shf *, struct op *);
|
||||
void dumpwdvar(struct shf *, const char *);
|
||||
void vistree(char *, size_t, struct op *)
|
||||
|
4
tree.c
4
tree.c
@ -22,7 +22,7 @@
|
||||
|
||||
#include "sh.h"
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.40 2011/03/13 01:20:24 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.41 2011/03/17 21:58:40 tg Exp $");
|
||||
|
||||
#define INDENT 8
|
||||
|
||||
@ -782,7 +782,7 @@ vistree(char *dst, size_t sz, struct op *t)
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
static void
|
||||
void
|
||||
dumpchar(struct shf *shf, int c)
|
||||
{
|
||||
if (((c & 0x60) == 0) || ((c & 0x7F) == 0x7F)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user