and add it as source to functional_test module.
+2013-05-03 Andrey Borzenkov <arvidjaar@gmail.com>
+
+ Rename grub-core/tests/checksums.c into grub-core/tests/checksums.h
+ and add it as source to functional_test module.
+
2013-05-03 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/tests/video_checksum.c: Don't set GENERATE_MODE.
name = functional_test;
common = tests/lib/functional_test.c;
common = tests/lib/test.c;
+ common = tests/checksums.h;
common = tests/video_checksum.c;
common = tests/fake_input.c;
common = video/capture.c;
};
const struct checksum_desc checksum_table[] = {
-#include "checksums.c"
+#include "checksums.h"
};
void
#if defined (GENERATE_MODE) && defined (GRUB_MACHINE_EMU)
if (genfd < 0)
- genfd = open ("checksums.c", O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
+ genfd = open ("checksums.h", O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
if (genfd >= 0)
{
char buf[400];