Patchwork filo compile errors

login
register
about
Submitter Jason Wang
Date 2009-08-05 15:36:28
Message ID <df1430310908050836t77e2daf5lb3345dc8b8c2c644@mail.gmail.com>
Download mbox | patch
Permalink /patch/89/
State Not Applicable
Headers show

Comments

Jason Wang - 2009-08-05 15:36:28
hi all
 it seems there is a variable  are not included in /include/grub/shard.h
which would caused error with main/grub/completions.c UNIQUE_BUF undefined
details are patched.
Stefan Reinauer - 2009-08-05 15:46:35
Jason Wang wrote:
>
> hi all
>  it seems there is a variable  are not included in
> /include/grub/shard.h which would caused error with
> main/grub/completions.c UNIQUE_BUF undefined
> details are patched.
>


CONFIG_EXPERIMENTAL is broken and should not be used.

Stefan

Patch

Index: include/grub/shared.h
===================================================================
--- include/grub/shared.h    (revision 103)
+++ include/grub/shared.h    (working copy)
@@ -55,6 +55,7 @@ 
 #define COMPLETION_BUFLEN    MAX_CMDLINE

 /* The buffer for the unique string.  */
+extern char UNIQUE_BUF[];
 #define UNIQUE_BUFLEN        MAX_CMDLINE

 /* The buffer for the menu entries.  */