Re: mconf.c and bindtextdomain() -- warnings while cross-compiling on OS X

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Sam Ravnborg <sam@...>
Cc: <linux-kernel@...>
Date: Sunday, May 4, 2008 - 2:42 pm

Sam Ravnborg wrote:


...


Drop the "void" on this line and this patch works.

While you're at it, you'll also need this change:

--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -773,7 +773,7 @@ static void conf_string(struct menu *menu)

         while (1) {
                 int res;
-               char *heading;
+               const char *heading;

On a side note, git-diff gives me this error in mconf.c:

@@ -924,4 +924,4 @@ int main(int ac, char **av)
         }

         return 0;
-}
+}
\ No newline at end of file

I've never seen it before so I don't know if this is specific to OS X or 
maybe it's my editor.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: mconf.c and bindtextdomain() -- warnings while cross-com..., Timur Tabi, (Sun May 4, 2:42 pm)