X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fcrc.h;h=90958647660f3b2b8bf2cc04225423163c49926f;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=ee13dafeed1d1c9d4409b37abc182b44ac67e3cd;hpb=563da0755fefb7a98f8a4ee4e4de6c8c2b559905;p=gnulib.git diff --git a/lib/crc.h b/lib/crc.h index ee13dafee..909586476 100644 --- a/lib/crc.h +++ b/lib/crc.h @@ -1,10 +1,10 @@ /* crc.h -- cyclic redundancy checks - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2009-2014 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + 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; either version 2, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -12,8 +12,7 @@ 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. */ + along with this program. If not, see . */ /* Written by Simon Josefsson. */ @@ -21,12 +20,7 @@ # define CRC_H 1 #include -#if HAVE_INTTYPES_H -# include -#endif -#if HAVE_STDINT_H -# include -#endif +#include /* Compute CRC-32 value of LEN bytes long BUF, and return it. */ extern uint32_t crc32 (const char *buf, size_t len);