Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1BpBsV-0003Xr-FN for mharc-grub-devel@gnu.org; Mon, 26 Jul 2004 16:15:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BpBsR-0003Xb-N0 for grub-devel@gnu.org; Mon, 26 Jul 2004 16:15:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BpBsN-0003Wf-VP for grub-devel@gnu.org; Mon, 26 Jul 2004 16:15:13 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BpBsN-0003Wb-Mv for grub-devel@gnu.org; Mon, 26 Jul 2004 16:15:11 -0400 Received: from [216.136.226.43] (helo=web20106.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1BpBpE-0001mb-Ta for grub-devel@gnu.org; Mon, 26 Jul 2004 16:11:57 -0400 Message-ID: <20040726201155.36373.qmail@web20106.mail.yahoo.com> Received: from [202.153.38.106] by web20106.mail.yahoo.com via HTTP; Mon, 26 Jul 2004 13:11:55 PDT Date: Mon, 26 Jul 2004 13:11:55 -0700 (PDT) From: mathan gopal To: grub-devel@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Can we declare global variables in GRUB???? 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: Mon, 26 Jul 2004 20:15:16 -0000 Hai everyone, I've been modifying the grub0.93.I'm in need of sharing data b/w functions though global varibles. So i declared those variables at the beginning of the stage2.c .When i compiled the modified grub,i got the error as "variable" undeclared in all those functions where those global varibles are used.now i'm unable to use global varibales. Is it possible to declare global variables in GRUB?? otherwise,are there any other methods to overcome this pblm?? could any help me as earlier as possible in this regard??? mathan __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail