diff options
author | Andreas Jaeger <aj@suse.de> | 2003-09-14 12:20:17 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2003-09-14 12:20:17 +0000 |
commit | 2da42df615c0489291f8d3e1ce873642755a49c6 (patch) | |
tree | 2294d219a7e8025d03f45821f383cf3692f249ed /binutils/sysinfo.y | |
parent | 4a4b3fedfec42967926860950ee4fae2f01af98e (diff) | |
download | gdb-2da42df615c0489291f8d3e1ce873642755a49c6.zip gdb-2da42df615c0489291f8d3e1ce873642755a49c6.tar.gz gdb-2da42df615c0489291f8d3e1ce873642755a49c6.tar.bz2 |
* addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
unneeded (void *) casts.
* ar.c: Likewise.
* arlex.l: Likewise.
* arparse.y: Likewise.
* arsup.c: Likewise.
* binemul.c: Likewise.
* binemul.h: Likewise.
* bucomm.c: Likewise.
* bucomm.h: Likewise.
* budbg.h: Likewise.
* budemang.c: Likewise.
* budemang.h: Likewise.
* coffdump.c: Likewise.
* coffgrok.c: Likewise.
* cxxfilt.c: Likewise.
* debug.c: Likewise.
* debug.h: Likewise.
* deflex.l: Likewise.
* dlltool.c: Likewise.
* dlltool.h: Likewise.
* dllwrap.c: Likewise.
* emul_aix.c: Likewise.
* filemode.c: Likewise.
* ieee.c: Likewise.
* nlmconv.c: Likewise.
* nlmconv.h: Likewise.
* nlmheader.y: Likewise.
* nm.c: Likewise.
* prdbg.c: Likewise.
* rclex.l: Likewise.
* rcparse.y: Likewise.
* rdcoff.c: Likewise.
* rddbg.c: Likewise.
* rename.c: Likewise.
* resbin.c: Likewise.
* rescoff.c: Likewise.
* resrc.c: Likewise.
* size.c: Likewise.
* srconv.c: Likewise.
* stabs.c: Likewise.
* strings.c: Likewise.
* sysdump.c: Likewise.
* sysinfo.y: Likewise.
* syslex.l: Likewise.
* unwind-ia64.c: Likewise.
* unwind-ia64.h: Likewise.
* version.c: Likewise.
* windres.c: Likewise.
* windres.h: Likewise.
* winduni.c: Likewise.
* wrstabs.c: Likewise.
Diffstat (limited to 'binutils/sysinfo.y')
-rw-r--r-- | binutils/sysinfo.y | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/binutils/sysinfo.y b/binutils/sysinfo.y index 4aa4607..c67e9f6 100644 --- a/binutils/sysinfo.y +++ b/binutils/sysinfo.y @@ -1,4 +1,4 @@ -/* Copyright 2001 Free Software Foundation, Inc. +/* Copyright 2001, 2003 Free Software Foundation, Inc. Written by Steve Chamberlain of Cygnus Support (steve@cygnus.com). This file is part of GNU binutils. @@ -415,9 +415,7 @@ int yydebug; char writecode; int -main(ac,av) -int ac; -char **av; +main (int ac, char **av) { yydebug=0; if (ac > 1) @@ -434,8 +432,7 @@ return 0; } int -yyerror(s) - char *s; +yyerror (char *s) { fprintf(stderr, "%s\n" , s); return 0; |