Whamcloud - gitweb
libext2fs: Move test code for csum.c inline instead of in a separate file
authorTheodore Ts'o <tytso@mit.edu>
Fri, 29 May 2009 15:01:22 +0000 (11:01 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 29 May 2009 15:01:22 +0000 (11:01 -0400)
commit470e737a872918afd9067de1ce92d571d5671d40
treed3d70101609d59347a723e2b55c5aa548b83670f
parent86522281f8be6e5fca0b3ed552786db4979a45a4
libext2fs: Move test code for csum.c inline instead of in a separate file

Move the test code which is used to build the tst_csum progam from
tst_csum into csum.c under an #ifdef DEBUG to simplify things and to
avoid compile problems caused by not having a prototype for
ext2fs_group_desc_csum().

Addresses-Sourceforge-Bug: #2484331

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/Makefile.in
lib/ext2fs/csum.c
lib/ext2fs/tst_csum.c [deleted file]