[En-Nut-Discussion] Stdlib.h Setenv.c unsetenv previous declaration error # 2
Dominik Schröder
dominik.schroeder at bh-informativ.de
Mon May 16 15:56:37 CEST 2011
Hello Gregor
I think there is an option in the NutOS-configurator to fix this error. Just
search for "unsetenv" in the configurator.
Best regards
Dominik
-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Kirsty Mackenzie
Gesendet: Montag, 16. Mai 2011 15:53
An: en-nut-discussion at egnite.de
Betreff: Re: [En-Nut-Discussion] Stdlib.h Setenv.c unsetenv previous
declaration error # 2
Good afternoon all,
Changing line 177 of stdlib.h from
void _EXFUN(unsetenv,(const int *__string));
to
int _EXFUN(unsetenv,(const char *__string));
appears to have cured the problem by matching the declaration types
to the function itself in setenv.c.
My C is a little rusty :(
BR
Gregor.
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
More information about the En-Nut-Discussion
mailing list