de-register, de-inline, de-__P

This commit is contained in:
tg
2004-10-28 11:11:19 +00:00
parent 7ad780aa98
commit 75e25d6e50
36 changed files with 660 additions and 656 deletions

18
tree.c
View File

@ -1,4 +1,4 @@
/** $MirBSD: tree.c,v 1.4 2004/10/28 11:03:24 tg Exp $ */
/** $MirBSD: tree.c,v 1.5 2004/10/28 11:11:19 tg Exp $ */
/* $OpenBSD: tree.c,v 1.10 2002/02/27 19:37:09 dhartmei Exp $ */
/*
@ -7,18 +7,18 @@
#include "sh.h"
__RCSID("$MirBSD: tree.c,v 1.4 2004/10/28 11:03:24 tg Exp $");
__RCSID("$MirBSD: tree.c,v 1.5 2004/10/28 11:11:19 tg Exp $");
#define INDENT 4
#define tputc(c, shf) shf_putchar(c, shf);
static void ptree ARGS((struct op *t, int indent, struct shf *f));
static void pioact ARGS((struct shf *f, int indent, struct ioword *iop));
static void tputC ARGS((int c, struct shf *shf));
static void tputS ARGS((char *wp, struct shf *shf));
static void vfptreef ARGS((struct shf *shf, int indent, const char *fmt, va_list va));
static struct ioword **iocopy ARGS((struct ioword **iow, Area *ap));
static void iofree ARGS((struct ioword **iow, Area *ap));
static void ptree(struct op *t, int indent, struct shf *f);
static void pioact(struct shf *f, int indent, struct ioword *iop);
static void tputC(int c, struct shf *shf);
static void tputS(char *wp, struct shf *shf);
static void vfptreef(struct shf *shf, int indent, const char *fmt, va_list va);
static struct ioword **iocopy(struct ioword **iow, Area *ap);
static void iofree(struct ioword **iow, Area *ap);
/*
* print a command tree