X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=hash.c;h=49443ed07093ded1c6a80d017fe46284ca481ed5;hb=33cfd5887ea8d05241b5b4749abbf7fdfadb51fe;hp=03def747c2fb5d77707316a3eb797af267d811fe;hpb=58d762ea573eb3cfea626bb52ea7a99e24b8a0aa;p=onak.git diff --git a/hash.c b/hash.c index 03def74..49443ed 100644 --- a/hash.c +++ b/hash.c @@ -1,11 +1,20 @@ /* * hash.c - hashing routines mainly used for caching key details. * - * Jonathan McDowell + * Copyright 2000-2002 Jonathan McDowell * - * Copyright 2000-2002 Project Purple + * 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; version 2 of the License. * - * $Id: hash.c,v 1.9 2003/10/04 10:21:40 noodles Exp $ + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the 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., 51 + * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include @@ -123,7 +132,7 @@ unsigned long hashelements(void) return elements; } -struct ll *gethashtableentry(int entry) +struct ll *gethashtableentry(unsigned int entry) { return hashtable[entry]; }