Mercurial > hg > octave-lojdl > gnulib-hg
changeset 6406:edea0771ea6b
* crc.h: Include stdint.h directly, suggested by Bruno Haible
<bruno@clisp.org>.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Fri, 21 Oct 2005 12:33:03 +0000 |
parents | 04f67808964b |
children | 01bbdf942804 |
files | lib/ChangeLog lib/crc.h |
diffstat | 2 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2005-10-21 Simon Josefsson <jas@extundo.com> + + * crc.h: Include stdint.h directly, suggested by Bruno Haible + <bruno@clisp.org>. + 2005-10-21 Simon Josefsson <jas@extundo.com> * des.h, des.c: New files.
--- a/lib/crc.h +++ b/lib/crc.h @@ -20,13 +20,7 @@ #ifndef CRC_H # define CRC_H 1 -#include <stddef.h> -#if HAVE_INTTYPES_H -# include <inttypes.h> -#endif -#if HAVE_STDINT_H -# include <stdint.h> -#endif +#include <stdint.h> /* Compute CRC-32 value of LEN bytes long BUF, and return it. */ extern uint32_t crc32 (const char *buf, size_t len);