aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-03-29 23:26:47 +0000
committerJohn Gilmore <gnu@cygnus>1992-03-29 23:26:47 +0000
commitbe772100b5002a9d942ebea6e597787ea878932a (patch)
treed5cf30ef76c85c6e4ee0fdf6824ea25df14fcf47 /gdb/c-exp.y
parent3414e4eb38123381ceb0a04ae0fd7fbb3de7e2db (diff)
downloadgdb-be772100b5002a9d942ebea6e597787ea878932a.zip
gdb-be772100b5002a9d942ebea6e597787ea878932a.tar.gz
gdb-be772100b5002a9d942ebea6e597787ea878932a.tar.bz2
Lint
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 7183fe7..865b021 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -75,10 +75,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define yyval c_val
#define yylloc c_lloc
-static void
-__yy_bcopy PARAMS ((char *, char *, int));
-
-int
yyparse PARAMS ((void));
int
@@ -807,7 +803,7 @@ array_mod: '[' ']'
func_mod: '(' ')'
{ $$ = 0; }
| '(' nonempty_typelist ')'
- { free ($2); $$ = 0; }
+ { free ((PTR)$2); $$ = 0; }
;
type : ptype
@@ -821,7 +817,7 @@ type : ptype
| type '(' typebase COLONCOLON '*' ')' '(' nonempty_typelist ')'
{ $$ = lookup_member_type
(lookup_function_type ($1), $3);
- free ($8); }
+ free ((PTR)$8); }
;
typebase