From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UYEqS-0005zO-1A for mharc-grub-devel@gnu.org; Fri, 03 May 2013 08:12:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYEqN-0005xn-1e for grub-devel@gnu.org; Fri, 03 May 2013 08:12:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYEqK-0007jV-HW for grub-devel@gnu.org; Fri, 03 May 2013 08:12:06 -0400 Received: from mail-ee0-f50.google.com ([74.125.83.50]:63342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYEqK-0007iV-7N for grub-devel@gnu.org; Fri, 03 May 2013 08:12:04 -0400 Received: by mail-ee0-f50.google.com with SMTP id e50so751225eek.37 for ; Fri, 03 May 2013 05:12:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type; bh=JEPsinbMaPT02Ijxq6xWUA9aGgWzEcblIsc29np5gOc=; b=fdmsP9mIF4S7hHHGGBzvTu7a9y/Uqf2JMgww9qKIEMo5vyf14g6Dqo5sxSTxirhiuc GO6m0cBwcbsQ2uSYEK2170FuQp3N81Z5aZQ2+f2bjAY4jbT7ySLir8uQ9+ixBEUJFTts 53BI7Ges+DHw6DE0b3u/G8Jd5065bF3FP39s1shmv4rmD72tZTuKuyR3xP/Nuvo1aE1P bwVTjd1tP1vrrGsXldSjM/MTIwkfCp0aHP04kJ7tEsbvc8kp+pOVYxg8YPD13qFJ31UR 3j80fL8RF6C228Ud+hQMhLbQTIj9Z5nO9KMoKMJYYIPLFVCbmaSD1sYRbY4ImEwYSDas v4Lg== X-Received: by 10.15.27.195 with SMTP id p43mr30788500eeu.8.1367583122926; Fri, 03 May 2013 05:12:02 -0700 (PDT) Received: from debian.x201.phnet (245-188.1-85.cust.bluewin.ch. [85.1.188.245]) by mx.google.com with ESMTPSA id i3sm15566627eev.1.2013.05.03.05.12.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 05:12:02 -0700 (PDT) Message-ID: <5183A990.20108@gmail.com> Date: Fri, 03 May 2013 14:12:00 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH] fix tarball compile failure due to missing tests/checksums.c References: <1367525612-27844-1-git-send-email-arvidjaar@gmail.com> In-Reply-To: <1367525612-27844-1-git-send-email-arvidjaar@gmail.com> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig5560E3E596CAAD34CB6736DC" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.83.50 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2013 12:12:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5560E3E596CAAD34CB6736DC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Go ahead. On 02.05.2013 22:13, Andrey Borzenkov wrote: > make[3]: Entering directory `/home/bor/build/grub/grub-2.00/grub-core' > gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRU= B_MACHINE_PCBIOS=3D1 -DGRUB_MACHINE=3DI386_PC -DGRUB_TARGET_CPU_I386=3D1 = -m32 -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.7/include -DGR= UB_FILE=3D\"tests/video_checksum.c\" ... -c -o tests/functional_test_modu= le-video_checksum.o `test -f 'tests/video_checksum.c' || echo './'`tests/= video_checksum.c > tests/video_checksum.c:342:23: fatal error: checksums.c: No such file o= r directory > compilation terminated. >=20 > So let's do it right - rename checksums.c into checksums.h and add > it as source file. The reason for rename >=20 > - we want to track proper dependency on checksums.c > - we want also to distribute it > - the proper way to do it is to add it as source file to module > - if checksums.c is added to module definition, automake will try to > compile it, which is wrong - it cannot be compiled separately >=20 > Renaming it into checksums.h does the right thing >=20 > - it tracks dependency on it > - it adds it to dist tarball > - it does not attempt to compile it >=20 > and all this with just a single line in module definition :) >=20 > --- > grub-core/Makefile.core.def | 1 + > grub-core/tests/checksums.c | 27 --------------------------- > grub-core/tests/checksums.h | 27 +++++++++++++++++++++++++++ > grub-core/tests/video_checksum.c | 4 ++-- > 4 files changed, 30 insertions(+), 29 deletions(-) >=20 > diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def > index 2fa0ea7..7c904b9 100644 > --- a/grub-core/Makefile.core.def > +++ b/grub-core/Makefile.core.def > @@ -1731,6 +1731,7 @@ module =3D { > name =3D functional_test; > common =3D tests/lib/functional_test.c; > common =3D tests/lib/test.c; > + common =3D tests/checksums.h; > common =3D tests/video_checksum.c; > common =3D tests/fake_input.c; > common =3D video/capture.c; > diff --git a/grub-core/tests/checksums.c b/grub-core/tests/checksums.c > deleted file mode 100644 > index 93d100f..0000000 > --- a/grub-core/tests/checksums.c > +++ /dev/null > @@ -1,27 +0,0 @@ > - { "videotest", 640, 480, 0x2, 16, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0 /* 64= 0x480xi16 */, (grub_uint32_t []) { 0x7f1853ba, 0x7f1853ba, 0x7f1853ba, 0x= 7f1853ba, 0x7f1853ba, }, 5 }, > - { "videotest", 800, 600, 0x2, 16, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0 /* 80= 0x600xi16 */, (grub_uint32_t []) { 0xff1957f0, 0xff1957f0, 0xff1957f0, 0x= ff1957f0, 0xff1957f0, }, 5 }, > - { "videotest", 1024, 768, 0x2, 16, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0 /* 1= 024x768xi16 */, (grub_uint32_t []) { 0xcb45d8c5, 0xcb45d8c5, 0xcb45d8c5, = 0xcb45d8c5, 0xcb45d8c5, }, 5 }, > - { "videotest", 640, 480, 0x1, 256, 15, 2, 10, 5, 5, 5, 0, 5, 0, 0 /*= 640x480xrgb555 */, (grub_uint32_t []) { 0x2c97569c, 0x2c97569c, 0x2c9756= 9c, 0x2c97569c, 0x2c97569c, }, 5 }, > - { "videotest", 800, 600, 0x1, 256, 15, 2, 10, 5, 5, 5, 0, 5, 0, 0 /*= 800x600xrgb555 */, (grub_uint32_t []) { 0x9bd7a3ac, 0x9bd7a3ac, 0x9bd7a3= ac, 0x9bd7a3ac, 0x9bd7a3ac, }, 5 }, > - { "videotest", 1024, 768, 0x1, 256, 15, 2, 10, 5, 5, 5, 0, 5, 0, 0 /= * 1024x768xrgb555 */, (grub_uint32_t []) { 0xedbceb9c, 0xedbceb9c, 0xedbc= eb9c, 0xedbceb9c, 0xedbceb9c, }, 5 }, > - { "videotest", 640, 480, 0x1, 256, 16, 2, 11, 5, 5, 6, 0, 5, 0, 0 /*= 640x480xrgb565 */, (grub_uint32_t []) { 0x3c2a42f1, 0x3c2a42f1, 0x3c2a42= f1, 0x3c2a42f1, 0x3c2a42f1, }, 5 }, > - { "videotest", 800, 600, 0x1, 256, 16, 2, 11, 5, 5, 6, 0, 5, 0, 0 /*= 800x600xrgb565 */, (grub_uint32_t []) { 0xb25ce62a, 0xb25ce62a, 0xb25ce6= 2a, 0xb25ce62a, 0xb25ce62a, }, 5 }, > - { "videotest", 1024, 768, 0x1, 256, 16, 2, 11, 5, 5, 6, 0, 5, 0, 0 /= * 1024x768xrgb565 */, (grub_uint32_t []) { 0x66cee14c, 0x66cee14c, 0x66ce= e14c, 0x66cee14c, 0x66cee14c, }, 5 }, > - { "videotest", 640, 480, 0x1, 256, 24, 3, 16, 8, 8, 8, 0, 8, 0, 0 /*= 640x480xrgb888 */, (grub_uint32_t []) { 0x61db45b7, 0x1d867efe, 0x996133= 25, 0xe53c086c, 0x9543de62, }, 5 }, > - { "videotest", 800, 600, 0x1, 256, 24, 3, 16, 8, 8, 8, 0, 8, 0, 0 /*= 800x600xrgb888 */, (grub_uint32_t []) { 0xa46eb37f, 0xd2a59656, 0x49f8f9= 2d, 0x3f33dc04, 0x7aae512a, }, 5 }, > - { "videotest", 1024, 768, 0x1, 256, 24, 3, 16, 8, 8, 8, 0, 8, 0, 0 /= * 1024x768xrgb888 */, (grub_uint32_t []) { 0xb864a496, 0x6c22313b, 0x1505= f93d, 0xc1436c90, 0xe74a6931, }, 5 }, > - { "videotest", 640, 480, 0x1, 256, 32, 4, 16, 8, 8, 8, 0, 8, 24, 8 /= * 640x480xrgb888 */, (grub_uint32_t []) { 0x2b154617, 0x692e98df, 0xaf62f= b87, 0xed59254f, 0x26164bc6, }, 5 }, > - { "videotest", 800, 600, 0x1, 256, 32, 4, 16, 8, 8, 8, 0, 8, 24, 8 /= * 800x600xrgb888 */, (grub_uint32_t []) { 0x3b0fbc56, 0xd9d57c0e, 0xfb564= a17, 0x198c8a4f, 0xbe502625, }, 5 }, > - { "videotest", 1024, 768, 0x1, 256, 32, 4, 16, 8, 8, 8, 0, 8, 24, 8 = /* 1024x768xrgb888 */, (grub_uint32_t []) { 0x6e6c9b36, 0x4ae9f137, 0x276= 64f34, 0x3e32535, 0xfc793332, }, 5 }, > - { "videotest", 640, 480, 0x1, 256, 15, 2, 0, 5, 5, 5, 10, 5, 0, 0 /*= 640x480xbgr555 */, (grub_uint32_t []) { 0x9056f776, 0x9056f776, 0x9056f7= 76, 0x9056f776, 0x9056f776, }, 5 }, > - { "videotest", 800, 600, 0x1, 256, 15, 2, 0, 5, 5, 5, 10, 5, 0, 0 /*= 800x600xbgr555 */, (grub_uint32_t []) { 0x2bde3c67, 0x2bde3c67, 0x2bde3c= 67, 0x2bde3c67, 0x2bde3c67, }, 5 }, > - { "videotest", 1024, 768, 0x1, 256, 15, 2, 0, 5, 5, 5, 10, 5, 0, 0 /= * 1024x768xbgr555 */, (grub_uint32_t []) { 0xb04615f3, 0xb04615f3, 0xb046= 15f3, 0xb04615f3, 0xb04615f3, }, 5 }, > - { "videotest", 640, 480, 0x1, 256, 16, 2, 0, 5, 5, 6, 11, 5, 0, 0 /*= 640x480xbgr565 */, (grub_uint32_t []) { 0xba8df8dd, 0xba8df8dd, 0xba8df8= dd, 0xba8df8dd, 0xba8df8dd, }, 5 }, > - { "videotest", 800, 600, 0x1, 256, 16, 2, 0, 5, 5, 6, 11, 5, 0, 0 /*= 800x600xbgr565 */, (grub_uint32_t []) { 0x84ac1329, 0x84ac1329, 0x84ac13= 29, 0x84ac1329, 0x84ac1329, }, 5 }, > - { "videotest", 1024, 768, 0x1, 256, 16, 2, 0, 5, 5, 6, 11, 5, 0, 0 /= * 1024x768xbgr565 */, (grub_uint32_t []) { 0x145ad698, 0x145ad698, 0x145a= d698, 0x145ad698, 0x145ad698, }, 5 }, > - { "videotest", 640, 480, 0x1, 256, 24, 3, 0, 8, 8, 8, 16, 8, 0, 0 /*= 640x480xbgr888 */, (grub_uint32_t []) { 0x4af6b480, 0x923db79c, 0xfe8cc4= 49, 0x2647c755, 0x27ee23e3, }, 5 }, > - { "videotest", 800, 600, 0x1, 256, 24, 3, 0, 8, 8, 8, 16, 8, 0, 0 /*= 800x600xbgr888 */, (grub_uint32_t []) { 0x121d5e29, 0xf66c0aed, 0xdf1381= 50, 0x3b62d594, 0x8dec962a, }, 5 }, > - { "videotest", 1024, 768, 0x1, 256, 24, 3, 0, 8, 8, 8, 16, 8, 0, 0 /= * 1024x768xbgr888 */, (grub_uint32_t []) { 0xae86a12c, 0x4dabbe89, 0x6d30= e897, 0x8e1df732, 0x2c0644ab, }, 5 }, > - { "videotest", 640, 480, 0x1, 256, 32, 4, 0, 8, 8, 8, 16, 8, 24, 8 /= * 640x480xbgr888 */, (grub_uint32_t []) { 0x2605d280, 0xc06e3172, 0xef3e6= 395, 0x9558067, 0xb19ec65b, }, 5 }, > - { "videotest", 800, 600, 0x1, 256, 32, 4, 0, 8, 8, 8, 16, 8, 24, 8 /= * 800x600xbgr888 */, (grub_uint32_t []) { 0x9404ef3b, 0xa4fdf18, 0xad7ef9= 8c, 0x3335c9af, 0xe6f0c255, }, 5 }, > - { "videotest", 1024, 768, 0x1, 256, 32, 4, 0, 8, 8, 8, 16, 8, 24, 8 = /* 1024x768xbgr888 */, (grub_uint32_t []) { 0xa008b770, 0xb98eb0d8, 0x930= 4b820, 0x8a82bf88, 0xc610a9d0, }, 5 }, > diff --git a/grub-core/tests/checksums.h b/grub-core/tests/checksums.h > new file mode 100644 > index 0000000..93d100f > --- /dev/null > +++ b/grub-core/tests/checksums.h > @@ -0,0 +1,27 @@ > + { "videotest", 640, 480, 0x2, 16, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0 /* 64= 0x480xi16 */, (grub_uint32_t []) { 0x7f1853ba, 0x7f1853ba, 0x7f1853ba, 0x= 7f1853ba, 0x7f1853ba, }, 5 }, > + { "videotest", 800, 600, 0x2, 16, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0 /* 80= 0x600xi16 */, (grub_uint32_t []) { 0xff1957f0, 0xff1957f0, 0xff1957f0, 0x= ff1957f0, 0xff1957f0, }, 5 }, > + { "videotest", 1024, 768, 0x2, 16, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0 /* 1= 024x768xi16 */, (grub_uint32_t []) { 0xcb45d8c5, 0xcb45d8c5, 0xcb45d8c5, = 0xcb45d8c5, 0xcb45d8c5, }, 5 }, > + { "videotest", 640, 480, 0x1, 256, 15, 2, 10, 5, 5, 5, 0, 5, 0, 0 /*= 640x480xrgb555 */, (grub_uint32_t []) { 0x2c97569c, 0x2c97569c, 0x2c9756= 9c, 0x2c97569c, 0x2c97569c, }, 5 }, > + { "videotest", 800, 600, 0x1, 256, 15, 2, 10, 5, 5, 5, 0, 5, 0, 0 /*= 800x600xrgb555 */, (grub_uint32_t []) { 0x9bd7a3ac, 0x9bd7a3ac, 0x9bd7a3= ac, 0x9bd7a3ac, 0x9bd7a3ac, }, 5 }, > + { "videotest", 1024, 768, 0x1, 256, 15, 2, 10, 5, 5, 5, 0, 5, 0, 0 /= * 1024x768xrgb555 */, (grub_uint32_t []) { 0xedbceb9c, 0xedbceb9c, 0xedbc= eb9c, 0xedbceb9c, 0xedbceb9c, }, 5 }, > + { "videotest", 640, 480, 0x1, 256, 16, 2, 11, 5, 5, 6, 0, 5, 0, 0 /*= 640x480xrgb565 */, (grub_uint32_t []) { 0x3c2a42f1, 0x3c2a42f1, 0x3c2a42= f1, 0x3c2a42f1, 0x3c2a42f1, }, 5 }, > + { "videotest", 800, 600, 0x1, 256, 16, 2, 11, 5, 5, 6, 0, 5, 0, 0 /*= 800x600xrgb565 */, (grub_uint32_t []) { 0xb25ce62a, 0xb25ce62a, 0xb25ce6= 2a, 0xb25ce62a, 0xb25ce62a, }, 5 }, > + { "videotest", 1024, 768, 0x1, 256, 16, 2, 11, 5, 5, 6, 0, 5, 0, 0 /= * 1024x768xrgb565 */, (grub_uint32_t []) { 0x66cee14c, 0x66cee14c, 0x66ce= e14c, 0x66cee14c, 0x66cee14c, }, 5 }, > + { "videotest", 640, 480, 0x1, 256, 24, 3, 16, 8, 8, 8, 0, 8, 0, 0 /*= 640x480xrgb888 */, (grub_uint32_t []) { 0x61db45b7, 0x1d867efe, 0x996133= 25, 0xe53c086c, 0x9543de62, }, 5 }, > + { "videotest", 800, 600, 0x1, 256, 24, 3, 16, 8, 8, 8, 0, 8, 0, 0 /*= 800x600xrgb888 */, (grub_uint32_t []) { 0xa46eb37f, 0xd2a59656, 0x49f8f9= 2d, 0x3f33dc04, 0x7aae512a, }, 5 }, > + { "videotest", 1024, 768, 0x1, 256, 24, 3, 16, 8, 8, 8, 0, 8, 0, 0 /= * 1024x768xrgb888 */, (grub_uint32_t []) { 0xb864a496, 0x6c22313b, 0x1505= f93d, 0xc1436c90, 0xe74a6931, }, 5 }, > + { "videotest", 640, 480, 0x1, 256, 32, 4, 16, 8, 8, 8, 0, 8, 24, 8 /= * 640x480xrgb888 */, (grub_uint32_t []) { 0x2b154617, 0x692e98df, 0xaf62f= b87, 0xed59254f, 0x26164bc6, }, 5 }, > + { "videotest", 800, 600, 0x1, 256, 32, 4, 16, 8, 8, 8, 0, 8, 24, 8 /= * 800x600xrgb888 */, (grub_uint32_t []) { 0x3b0fbc56, 0xd9d57c0e, 0xfb564= a17, 0x198c8a4f, 0xbe502625, }, 5 }, > + { "videotest", 1024, 768, 0x1, 256, 32, 4, 16, 8, 8, 8, 0, 8, 24, 8 = /* 1024x768xrgb888 */, (grub_uint32_t []) { 0x6e6c9b36, 0x4ae9f137, 0x276= 64f34, 0x3e32535, 0xfc793332, }, 5 }, > + { "videotest", 640, 480, 0x1, 256, 15, 2, 0, 5, 5, 5, 10, 5, 0, 0 /*= 640x480xbgr555 */, (grub_uint32_t []) { 0x9056f776, 0x9056f776, 0x9056f7= 76, 0x9056f776, 0x9056f776, }, 5 }, > + { "videotest", 800, 600, 0x1, 256, 15, 2, 0, 5, 5, 5, 10, 5, 0, 0 /*= 800x600xbgr555 */, (grub_uint32_t []) { 0x2bde3c67, 0x2bde3c67, 0x2bde3c= 67, 0x2bde3c67, 0x2bde3c67, }, 5 }, > + { "videotest", 1024, 768, 0x1, 256, 15, 2, 0, 5, 5, 5, 10, 5, 0, 0 /= * 1024x768xbgr555 */, (grub_uint32_t []) { 0xb04615f3, 0xb04615f3, 0xb046= 15f3, 0xb04615f3, 0xb04615f3, }, 5 }, > + { "videotest", 640, 480, 0x1, 256, 16, 2, 0, 5, 5, 6, 11, 5, 0, 0 /*= 640x480xbgr565 */, (grub_uint32_t []) { 0xba8df8dd, 0xba8df8dd, 0xba8df8= dd, 0xba8df8dd, 0xba8df8dd, }, 5 }, > + { "videotest", 800, 600, 0x1, 256, 16, 2, 0, 5, 5, 6, 11, 5, 0, 0 /*= 800x600xbgr565 */, (grub_uint32_t []) { 0x84ac1329, 0x84ac1329, 0x84ac13= 29, 0x84ac1329, 0x84ac1329, }, 5 }, > + { "videotest", 1024, 768, 0x1, 256, 16, 2, 0, 5, 5, 6, 11, 5, 0, 0 /= * 1024x768xbgr565 */, (grub_uint32_t []) { 0x145ad698, 0x145ad698, 0x145a= d698, 0x145ad698, 0x145ad698, }, 5 }, > + { "videotest", 640, 480, 0x1, 256, 24, 3, 0, 8, 8, 8, 16, 8, 0, 0 /*= 640x480xbgr888 */, (grub_uint32_t []) { 0x4af6b480, 0x923db79c, 0xfe8cc4= 49, 0x2647c755, 0x27ee23e3, }, 5 }, > + { "videotest", 800, 600, 0x1, 256, 24, 3, 0, 8, 8, 8, 16, 8, 0, 0 /*= 800x600xbgr888 */, (grub_uint32_t []) { 0x121d5e29, 0xf66c0aed, 0xdf1381= 50, 0x3b62d594, 0x8dec962a, }, 5 }, > + { "videotest", 1024, 768, 0x1, 256, 24, 3, 0, 8, 8, 8, 16, 8, 0, 0 /= * 1024x768xbgr888 */, (grub_uint32_t []) { 0xae86a12c, 0x4dabbe89, 0x6d30= e897, 0x8e1df732, 0x2c0644ab, }, 5 }, > + { "videotest", 640, 480, 0x1, 256, 32, 4, 0, 8, 8, 8, 16, 8, 24, 8 /= * 640x480xbgr888 */, (grub_uint32_t []) { 0x2605d280, 0xc06e3172, 0xef3e6= 395, 0x9558067, 0xb19ec65b, }, 5 }, > + { "videotest", 800, 600, 0x1, 256, 32, 4, 0, 8, 8, 8, 16, 8, 24, 8 /= * 800x600xbgr888 */, (grub_uint32_t []) { 0x9404ef3b, 0xa4fdf18, 0xad7ef9= 8c, 0x3335c9af, 0xe6f0c255, }, 5 }, > + { "videotest", 1024, 768, 0x1, 256, 32, 4, 0, 8, 8, 8, 16, 8, 24, 8 = /* 1024x768xbgr888 */, (grub_uint32_t []) { 0xa008b770, 0xb98eb0d8, 0x930= 4b820, 0x8a82bf88, 0xc610a9d0, }, 5 }, > diff --git a/grub-core/tests/video_checksum.c b/grub-core/tests/video_c= hecksum.c > index b2aab79..3c418f1 100644 > --- a/grub-core/tests/video_checksum.c > +++ b/grub-core/tests/video_checksum.c > @@ -339,7 +339,7 @@ struct checksum_desc > }; > =20 > const struct checksum_desc checksum_table[] =3D { > -#include "checksums.c" > +#include "checksums.h" > }; > =20 > void > @@ -351,7 +351,7 @@ grub_video_checksum (const char *basename_in) > =20 > #if defined (GENERATE_MODE) && defined (GRUB_MACHINE_EMU) > if (genfd < 0) > - genfd =3D open ("checksums.c", O_WRONLY | O_CREAT | O_TRUNC, S_IRU= SR | S_IWUSR); > + genfd =3D open ("checksums.h", O_WRONLY | O_CREAT | O_TRUNC, S_IRU= SR | S_IWUSR); > if (genfd >=3D 0) > { > char buf[400]; --------------enig5560E3E596CAAD34CB6736DC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlGDqZAACgkQNak7dOguQgk4bgEAuAFa4KunUoHjvv/XwHJfF9Au 3UgVvYENyIqKDZRivroA/ROkOxY97vKvJDmT+ApaBfsvPzpPNYqA8hWMb36cXaTY =n9U6 -----END PGP SIGNATURE----- --------------enig5560E3E596CAAD34CB6736DC--