diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-10-21 17:41:07 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-10-21 17:41:07 +0000 |
commit | 9427d66b4ac251d7baf16c89ece2a5920f575c70 (patch) | |
tree | a67f9a03d010462c2c219a1e28f03ea59420aee8 /usr.bin/pcc/powerpc | |
parent | 37d5a22bda6a1dfbac32d0c1dbe053c1a7b7e170 (diff) |
whack extdef() for the moment, it seems we do not need it and it trips
some bug as well (probably because of static data).
Diffstat (limited to 'usr.bin/pcc/powerpc')
-rw-r--r-- | usr.bin/pcc/powerpc/local.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/pcc/powerpc/local.c b/usr.bin/pcc/powerpc/local.c index 4020abc41dc..7b921f24dc5 100644 --- a/usr.bin/pcc/powerpc/local.c +++ b/usr.bin/pcc/powerpc/local.c @@ -1,4 +1,4 @@ -/* $OpenBSD: local.c,v 1.1 2007/10/20 10:01:38 otto Exp $ */ +/* $OpenBSD: local.c,v 1.2 2007/10/21 17:41:06 otto Exp $ */ /* * Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se). * All rights reserved. @@ -792,6 +792,7 @@ finval(NODE *p) char * exname(char *p) { +#if 0 #define NCHNAM 256 static char text[NCHNAM+1]; int i; @@ -805,8 +806,8 @@ exname(char *p) text[i] = '\0'; text[NCHNAM] = '\0'; /* truncate */ - - return (text); +#endif + return (p); } /* |