commit | 8232f2ddaece256afd323eb5a289a5ec1b7fbd1a | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Oct 03 22:49:45 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Oct 03 22:49:45 2011 -0400 |
tree | 03bddc7250d2a0aae731b7cde50f9007310fe30b | |
parent | 200569608fc6e33f6546c17999f14fb5dbb0b9b5 [diff] |
libext2fs: move #include "ext2fs.h" from crc32c_defs.h to crc32c.c The byte swap functions which are defined in ext2fs.h are only needed by crc32.c, and not by gen_crc32ctable.c. The gen_crc32ctable program needs to be compiled on the host OS, where ext2fs.h may not be present. So move the use of the header function to crc32c.c, to avoid compilation problems. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>