X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fhash-pjw.h;h=f6dcab8510726fe8a33d60782ca0dad1cca772a8;hb=43593319b31e6b0175b8eec4433bac744959822d;hp=35b5432d720d2efcf42888bdf15b79ff63a4ea9d;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/lib/hash-pjw.h b/lib/hash-pjw.h index 35b5432d7..f6dcab851 100644 --- a/lib/hash-pjw.h +++ b/lib/hash-pjw.h @@ -1,5 +1,5 @@ /* hash-pjw.h -- declaration for a simple hash function - Copyright (C) 2001, 2003, 2009-2010 Free Software Foundation, Inc. + Copyright (C) 2001, 2003, 2009-2013 Free Software Foundation, Inc. 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 @@ -20,4 +20,4 @@ and return the hash code modulo TABLESIZE. The result is platform dependent: it depends on the size of the 'size_t' type and on the signedness of the 'char' type. */ -extern size_t hash_pjw (void const *x, size_t tablesize); +extern size_t hash_pjw (void const *x, size_t tablesize) _GL_ATTRIBUTE_PURE;