The function ext2fs_init_csum_seed() has nothing to do with the
ext2fs_get_mem()/ext2fs_get_memzero()/ext2fs_get_array()/ext2fs_get_arrayzero()
functions. (This define is there so that on platforms where we need
to use the standard C functions, they can be replaced --- this is
primarily needed when trying to compile libext2fs for strange,
non-quite-standards-compliant platforms, such as Windows.)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
#endif
#endif
-#ifndef EXT2_CUSTOM_MEMORY_ROUTINES
-#include <string.h>
_INLINE_ void ext2fs_init_csum_seed(ext2_filsys fs)
{
if (!EXT2_HAS_RO_COMPAT_FEATURE(fs->super,
sizeof(fs->super->s_uuid));
}
+#ifndef EXT2_CUSTOM_MEMORY_ROUTINES
+#include <string.h>
/*
* Allocate memory
*/