X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhash.c;h=ec9b7b5461d26e6b905b8851cf44d42355dae38f;hp=e344092e5e5b61876b58c7e96185c8ea06364a21;hb=908d7a4bcee5adb7d4768499282cc83075d0332e;hpb=277e840a0f8e3ec8800cfe7407fe3c16000bc622 diff --git a/src/hash.c b/src/hash.c index e344092e..ec9b7b54 100644 --- a/src/hash.c +++ b/src/hash.c @@ -1,5 +1,5 @@ /* Hash tables. - Copyright (C) 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 2000-2003 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -48,8 +48,7 @@ so, delete this exception statement from your version. */ /* Make do without them. */ # define xnew(x) xmalloc (sizeof (x)) # define xnew_array(type, x) xmalloc (sizeof (type) * (x)) -# define xmalloc malloc /* or something that exits - if not enough memory */ +# define xmalloc malloc # define xfree free # define countof(x) (sizeof (x) / sizeof ((x)[0])) # define TOLOWER(x) ('A' <= (x) && (x) <= 'Z' ? (x) - 32 : (x))