X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcommon%2Fhashstr.h;h=21d1ef3b41cb12a34995a380384c668e2346db93;hb=d790ae1b42f1a4940d7e8fc4121433716e116fe9;hp=af7f2796c877fa1b43e35b91c993d40d27e0ea84;hpb=53dd513176425872128ef26031d00952ef7a0628;p=cc65 diff --git a/src/common/hashstr.h b/src/common/hashstr.h index af7f2796c..21d1ef3b4 100644 --- a/src/common/hashstr.h +++ b/src/common/hashstr.h @@ -38,13 +38,17 @@ +#include "attrib.h" + + + /*****************************************************************************/ -/* Code */ +/* Code */ /*****************************************************************************/ -unsigned HashStr (const char* S); +unsigned HashStr (const char* S) attribute ((const)); /* Return a hash value for the given string */