diff options
author | Anders Magnusson <ragge@cvs.openbsd.org> | 2007-12-09 18:38:50 +0000 |
---|---|---|
committer | Anders Magnusson <ragge@cvs.openbsd.org> | 2007-12-09 18:38:50 +0000 |
commit | 8373c6a0f9262c1718d088e9c8e07db680774d69 (patch) | |
tree | fe094a6c00be341be8aff1280e1af8024cd7c811 /usr.bin/pcc | |
parent | e43302e5cc76502118cb1441bd67f74981ca2a74 (diff) |
Updates from master repo:
- Nuke unused prototypes.
Diffstat (limited to 'usr.bin/pcc')
-rw-r--r-- | usr.bin/pcc/mip/pass2.h | 8 | ||||
-rw-r--r-- | usr.bin/pcc/mip/protos.h | 20 |
2 files changed, 3 insertions, 25 deletions
diff --git a/usr.bin/pcc/mip/pass2.h b/usr.bin/pcc/mip/pass2.h index 63654796c91..c1c922bd6f5 100644 --- a/usr.bin/pcc/mip/pass2.h +++ b/usr.bin/pcc/mip/pass2.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pass2.h,v 1.6 2007/11/16 09:00:12 otto Exp $ */ +/* $OpenBSD: pass2.h,v 1.7 2007/12/09 18:38:49 ragge Exp $ */ /* * Copyright(C) Caldera International Inc. 2001-2002. All rights reserved. * @@ -232,13 +232,9 @@ void prologue(struct interpass_prolog *); void e2print(NODE *p, int down, int *a, int *b); void myoptim(struct interpass *); void cbgen(int op, int label); -struct optab *nxtmatch(struct optab *); -int chkmatch(NODE *, int, int, int); int match(NODE *p, int cookie); -int nmatch(NODE *p, int what); -#ifndef special +int acceptable(struct optab *); int special(NODE *, int); -#endif int setasg(NODE *, int); int setuni(NODE *, int); int sucomp(NODE *); diff --git a/usr.bin/pcc/mip/protos.h b/usr.bin/pcc/mip/protos.h index 354e5cebc84..88e0811b667 100644 --- a/usr.bin/pcc/mip/protos.h +++ b/usr.bin/pcc/mip/protos.h @@ -1,4 +1,4 @@ -/* $OpenBSD: protos.h,v 1.4 2007/11/04 18:51:28 ragge Exp $ */ +/* $OpenBSD: protos.h,v 1.5 2007/12/09 18:38:49 ragge Exp $ */ struct optab; struct symtab; @@ -9,11 +9,9 @@ void werror(char *s, ...); void uerror(char *s, ...); void reclaim(NODE *p, int, int); void walkf(NODE *, void (*f)(NODE *)); -void allchk(void); void tfree(NODE *); int tshape(NODE *, int); void prtdcon(NODE *p); -void tinit(void); void tcheck(void); void mkdope(void); int tshape(NODE *p, int shape); @@ -27,7 +25,6 @@ void adrcon(CONSZ); void zzzcode(NODE *, int); void insput(NODE *); void upput(NODE *, int); -void econvert(NODE *); int andable(NODE *); int conval(NODE *, int, NODE *); int ispow2(CONSZ); @@ -36,11 +33,9 @@ int getlab(void); void ftnend(void); void efcode(void); void dclargs(void); -void fixarg(struct symtab *); void cendarg(void); void defalign(int); int fldal(unsigned int); -void zecode(int); void putbyte(int v); void ecomp(NODE *p); void bccode(void); @@ -50,27 +45,14 @@ void nidcl(NODE *p, int class); int noinit(void); void eprint(NODE *, int, int *, int *); int uclass(int class); -int fixclass(int, TWORD type); void mycanon(NODE *); -void delay(NODE *); -int delay1(NODE *); -void delay2(NODE *); void setregs(void); -int autoincr(NODE *); -int deltest(NODE *); void canon(NODE *); -void order(NODE *, int); int tlen(NODE *p); -int setincr(NODE *); int setbin(NODE *); -void stoarg(NODE *p, int); -void constore(NODE *); -void markcall(NODE *); void oreg2(NODE *p); int notoff(TWORD, int, CONSZ, char *); void bycode(int, int); -void pstab(char *, int); -void psline(void); int notlval(NODE *); int icons(NODE *); void ecode(NODE *p); |