From: uz Date: Fri, 12 Aug 2011 15:36:53 +0000 (+0000) Subject: Tracked rename of hashstr -> hashfunc. X-Git-Tag: V2.13.3~306 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b8d43cee42496c093e04a8809927a9869431f194;p=cc65 Tracked rename of hashstr -> hashfunc. git-svn-id: svn://svn.cc65.org/cc65/trunk@5156 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ar65/exports.c b/src/ar65/exports.c index 84f0a0308..488d58497 100644 --- a/src/ar65/exports.c +++ b/src/ar65/exports.c @@ -36,7 +36,7 @@ #include /* common */ -#include "hashstr.h" +#include "hashfunc.h" #include "xmalloc.h" /* ar65 */ diff --git a/src/cc65/codeseg.c b/src/cc65/codeseg.c index 492a322b9..52516abfe 100644 --- a/src/cc65/codeseg.c +++ b/src/cc65/codeseg.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 2001-2009, Ullrich von Bassewitz */ +/* (C) 2001-2011, Ullrich von Bassewitz */ /* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -41,7 +41,7 @@ #include "check.h" #include "debugflag.h" #include "global.h" -#include "hashstr.h" +#include "hashfunc.h" #include "strbuf.h" #include "strutil.h" #include "xmalloc.h" diff --git a/src/cc65/macrotab.c b/src/cc65/macrotab.c index 35639f832..d0b18bdf1 100644 --- a/src/cc65/macrotab.c +++ b/src/cc65/macrotab.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 2000-2008, Ullrich von Bassewitz */ +/* (C) 2000-2011, Ullrich von Bassewitz */ /* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -37,7 +37,7 @@ #include /* common */ -#include "hashstr.h" +#include "hashfunc.h" #include "xmalloc.h" /* cc65 */ diff --git a/src/cc65/symtab.c b/src/cc65/symtab.c index 5a7c740d3..18b9696d4 100644 --- a/src/cc65/symtab.c +++ b/src/cc65/symtab.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 2000-2009, Ullrich von Bassewitz */ +/* (C) 2000-2011, Ullrich von Bassewitz */ /* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -41,7 +41,7 @@ /* common */ #include "check.h" #include "debugflag.h" -#include "hashstr.h" +#include "hashfunc.h" #include "xmalloc.h" /* cc65 */ @@ -162,7 +162,7 @@ static void CheckSymTable (SymTable* Tab) * defined but not used. */ if (((Flags & SC_AUTO) || (Flags & SC_STATIC)) && (Flags & SC_EXTERN) == 0) { - if (SymIsDef (Entry) && !SymIsRef (Entry) && + if (SymIsDef (Entry) && !SymIsRef (Entry) && !SymHasAttr (Entry, atUnused)) { if (Flags & SC_PARAM) { if (IS_Get (&WarnUnusedParam)) { diff --git a/src/ld65/exports.c b/src/ld65/exports.c index 486860618..13ec49d8b 100644 --- a/src/ld65/exports.c +++ b/src/ld65/exports.c @@ -40,7 +40,7 @@ /* common */ #include "addrsize.h" #include "check.h" -#include "hashstr.h" +#include "hashfunc.h" #include "symdefs.h" #include "xmalloc.h" @@ -745,7 +745,7 @@ static void PrintUnresolved (ExpCheckFunc F, void* Data) } - + static int CmpExpName (const void* K1, const void* K2) /* Compare function for qsort */ { diff --git a/src/ld65/extsyms.c b/src/ld65/extsyms.c index 0ca35eb54..261af681c 100644 --- a/src/ld65/extsyms.c +++ b/src/ld65/extsyms.c @@ -1,15 +1,15 @@ /*****************************************************************************/ /* */ -/* extsyms.c */ +/* extsyms.c */ /* */ /* Handle program external symbols for relocatable output formats */ /* */ /* */ /* */ -/* (C) 1999-2008 Ullrich von Bassewitz */ -/* Roemerstrasse 52 */ -/* D-70794 Filderstadt */ -/* EMail: uz@cc65.org */ +/* (C) 1999-2011, Ullrich von Bassewitz */ +/* Roemerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -36,7 +36,7 @@ #include /* common */ -#include "hashstr.h" +#include "hashfunc.h" #include "xmalloc.h" /* ld65 */ diff --git a/src/ld65/segments.c b/src/ld65/segments.c index ae709d0eb..5397fbcef 100644 --- a/src/ld65/segments.c +++ b/src/ld65/segments.c @@ -41,7 +41,7 @@ #include "coll.h" #include "exprdefs.h" #include "fragdefs.h" -#include "hashstr.h" +#include "hashfunc.h" #include "print.h" #include "segdefs.h" #include "symdefs.h"