diff options
Diffstat (limited to 'usr.bin/pcc/vax')
-rw-r--r-- | usr.bin/pcc/vax/code.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.bin/pcc/vax/code.c b/usr.bin/pcc/vax/code.c index 8e041b69e55..a4096fd9f13 100644 --- a/usr.bin/pcc/vax/code.c +++ b/usr.bin/pcc/vax/code.c @@ -1,4 +1,4 @@ -/* $OpenBSD: code.c,v 1.3 2007/11/16 09:00:13 otto Exp $ */ +/* $OpenBSD: code.c,v 1.4 2007/11/22 15:06:43 stefan Exp $ */ /* * Copyright(C) Caldera International Inc. 2001-2002. All rights reserved. * @@ -202,17 +202,13 @@ fldty( p ) struct symtab *p; { /* fix up type of field p */ ; } -/* p points to an array of structures, each consisting - * of a constant value and a label. - * The first is >=0 if there is a default label; - * its value is the label number - * The entries p[1] to p[n] are the nontrivial cases +/* * XXX - fix genswitch. */ -void -genswitch(int num, struct swents **p, int n) +int +mygenswitch(int num, TWORD type, struct swents **p, int n) { - cerror("genswitch"); + return 0; } #ifdef notyet |