mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
038d861ede
- Remove obsolete types like "uint32"; use "uint32_t" consistently. - Make sure we include <inttypes.h> where needed. - Header file guards should be FOO_H or SUBDIR_FOO_H; _FOO_H infringes on the C implementation's namespace and should only be used when writing libc! - Change a few "int8_t" back to "char" where appropriate. There are a lot more places where that should be done, though. - Clean up the check for getuid/getgid in rdoff/rdlar.h.
19 lines
457 B
C
19 lines
457 B
C
/* hash.h Routines to calculate a CRC32 hash value
|
|
*
|
|
* These routines donated to the NASM effort by Graeme Defty.
|
|
*
|
|
* The Netwide Assembler is copyright (C) 1996 Simon Tatham and
|
|
* Julian Hall. All rights reserved. The software is
|
|
* redistributable under the licence given in the file "Licence"
|
|
* distributed in the NASM archive.
|
|
*/
|
|
|
|
#ifndef RDOFF_HASH_H
|
|
#define RDOFF_HASH_H 1
|
|
|
|
#include <inttypes.h>
|
|
|
|
uint32_t hash(const char *name);
|
|
|
|
#endif
|