util-linux/include/crc32c.h
Karel Zak faeb1b64b3 include: add missing license lines
The header files are usually based on code from lib/. This commit
copies relevant license headers from lib/ to include/ to keep
things consistent. The very generic things (e.g. MBR definitions)
are always public domain.

Fixes: https://github.com/util-linux/util-linux/issues/2010
Signed-off-by: Karel Zak <kzak@redhat.com>
2023-01-12 15:33:09 +01:00

13 lines
278 B
C

/*
* No copyright is claimed. This code is in the public domain; do with it what
* you wish.
*/
#ifndef UL_CRC32C_H
#define UL_CRC32C_H
#include <sys/types.h>
#include <stdint.h>
extern uint32_t crc32c(uint32_t crc, const void *buf, size_t size);
#endif /* UL_CRC32C_H */