Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M0jpg-0002hY-2K for mharc-grub-devel@gnu.org; Sun, 03 May 2009 18:06:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0jpc-0002eV-Ko for grub-devel@gnu.org; Sun, 03 May 2009 18:06:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0jpc-0002eJ-6z for grub-devel@gnu.org; Sun, 03 May 2009 18:06:44 -0400 Received: from [199.232.76.173] (port=53007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0jpc-0002eA-3o for grub-devel@gnu.org; Sun, 03 May 2009 18:06:44 -0400 Received: from 74-93-104-97-washington.hfc.comcastbusiness.net ([74.93.104.97]:59640 helo=sunset.davemloft.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M0jpb-0005ji-Jn for grub-devel@gnu.org; Sun, 03 May 2009 18:06:43 -0400 Received: from localhost (localhost [127.0.0.1]) by sunset.davemloft.net (Postfix) with ESMTP id 66303C8D92C for ; Sun, 3 May 2009 15:06:37 -0700 (PDT) Date: Sun, 03 May 2009 15:06:37 -0700 (PDT) Message-Id: <20090503.150637.215324711.davem@davemloft.net> To: grub-devel@gnu.org From: David Miller X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [PATCH]: Build warning fix. 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: Sun, 03 May 2009 22:06:44 -0000 I just committed the following. I see people talking about enabling -Werror, but nobody is watching for even the most obvious new warning messages when they commit new changes :-( 2009-05-03 David S. Miller * normal/menu.c: Include grub/parser.h diff --git a/normal/menu.c b/normal/menu.c index abf1b0f..e1d7edc 100644 --- a/normal/menu.c +++ b/normal/menu.c @@ -25,6 +25,7 @@ #include #include #include +#include /* Get a menu entry by its index in the entry list. */ grub_menu_entry_t