From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1ByWIQ-00061e-7k for mharc-grub-devel@gnu.org; Sat, 21 Aug 2004 09:52:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1ByWIO-00061G-77 for grub-devel@gnu.org; Sat, 21 Aug 2004 09:52:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1ByWIN-00060x-DD for grub-devel@gnu.org; Sat, 21 Aug 2004 09:52:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ByWIN-00060u-AR for grub-devel@gnu.org; Sat, 21 Aug 2004 09:52:35 -0400 Received: from [212.43.237.68] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ByWDh-0007Az-Fc for grub-devel@gnu.org; Sat, 21 Aug 2004 09:47:45 -0400 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 61159F0D2098 for ; Sat, 21 Aug 2004 09:47:43 -0400 (EDT) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sat, 21 Aug 2004 13:56:47 +0200 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200408211356.47603.okuji@enbug.org> Subject: warnings when compiling minix and hfs X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2004 13:52:36 -0000 I get these warnings when compiming minix.c and hfs.c: gcc -Ifs -I../fs -I. -Iinclude -I../include -Wall -W -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 -falign-functions=1 -fno-builtin -mrtd -mregparm=3 -c -o minix_mod-fs_minix.o ../fs/minix.c ../fs/minix.c: In function `grub_minix_get_file_block': ../fs/minix.c:131: warning: no previous prototype for `grub_get_indir' ../fs/minix.c: In function `grub_get_indir': ../fs/minix.c:134: warning: declaration of `indir' shadows a previous local ../fs/minix.c:127: warning: shadowed declaration is here ../fs/minix.c:143: warning: declaration of `indir' shadows a previous local ../fs/minix.c:127: warning: shadowed declaration is here rm -f pre-minix.o ld -r -o pre-minix.o minix_mod-fs_minix.o nm -g --defined-only -P -p pre-minix.o | sed 's/^\([^ ]*\).*/\1 minix/' > def-minix.lst gcc -Ifs -I../fs -I. -Iinclude -I../include -Wall -W -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 -falign-functions=1 -fno-builtin -mrtd -mregparm=3 -c -o hfs_mod-fs_hfs.o ../fs/hfs.c ../fs/hfs.c: In function `grub_hfs_find_node': ../fs/hfs.c:527: warning: no previous prototype for `node_found' ../fs/hfs.c: At top level: ../fs/hfs.c:582: warning: no previous prototype for `grub_hfs_iterate_dir' ../fs/hfs.c: In function `grub_hfs_iterate_dir': ../fs/hfs.c:592: warning: no previous prototype for `node_found' ../fs/hfs.c:613: warning: no previous prototype for `it_dir' ../fs/hfs.c: In function `grub_hfs_dir': ../fs/hfs.c:727: warning: no previous prototype for `dir_hook' Marco, can you fix them? Okuji