Move this header to libfrog since the code is there already.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
#include "command.h"
#include "init.h"
#include "io.h"
-#include "crc32c.h"
-#include "crc32cselftest.h"
+#include "libfrog/crc32c.h"
+#include "libfrog/crc32cselftest.h"
static int
crc32cselftest_f(
bulkstat.h \
bitmap.h \
convert.h \
+crc32c.h \
+crc32cselftest.h \
crc32defs.h \
crc32table.h \
fsgeom.h \
* Copyright (c) 2000-2005 Silicon Graphics, Inc.
* All Rights Reserved.
*/
-#ifndef LIBFROG_CRC32C_H_
-#define LIBFROG_CRC32C_H_
+#ifndef __LIBFROG_CRC32C_H__
+#define __LIBFROG_CRC32C_H__
extern uint32_t crc32c_le(uint32_t crc, unsigned char const *p, size_t len);
-#endif /* LIBFROG_CRC32C_H_ */
+#endif /* __LIBFROG_CRC32C_H__ */
/* This is just the crc32 self test bits from crc32.c. */
-#ifndef _LIBFROG_CRC32CSELFTEST_H_
-#define _LIBFROG_CRC32CSELFTEST_H_
+#ifndef __LIBFROG_CRC32CSELFTEST_H__
+#define __LIBFROG_CRC32CSELFTEST_H__
/* 4096 random bytes */
static uint8_t __attribute__((__aligned__(8))) test_buf[] =
return errors;
}
-#endif /* _LIBFROG_CRC32CSELFTEST_H_ */
+#endif /* __LIBFROG_CRC32CSELFTEST_H__ */
#include "xfs_arch.h"
#include "xfs_fs.h"
-#include "crc32c.h"
+#include "libfrog/crc32c.h"
/* Zones used in libxfs allocations that aren't in shared header files */
extern kmem_zone_t *xfs_buf_item_zone;