X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Farm%2Fbag.c;h=35f295344d15a7731466759d5539af10bd896ccf;hb=00923338dec84505addaf9cdeca2e9c844757824;hp=a09d749b002e074542fe8e98321c69e567985fd5;hpb=2ee563b53258d390d7446e90a67f465d504ae44c;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/arm/bag.c b/sim/arm/bag.c index a09d749b00..35f295344d 100644 --- a/sim/arm/bag.c +++ b/sim/arm/bag.c @@ -3,7 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -12,8 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + along with this program; if not, see . */ /********************************************************************/ /* bag.c: */ @@ -41,7 +40,7 @@ Hashentry; Hashentry *lookupbyfirst[HASH_TABLE_SIZE]; Hashentry *lookupbysecond[HASH_TABLE_SIZE]; -void +static void addtolist (Hashentry ** add, long first, long second) { while (*add) @@ -53,7 +52,7 @@ addtolist (Hashentry ** add, long first, long second) (*add)->second = second; } -void +static void killwholelist (Hashentry * p) { Hashentry *q; @@ -153,7 +152,7 @@ BAG_killpair_bysecond (long second) } void -BAG_newbag () +BAG_newbag (void) { int i;