KDE/kdebase
David Faure
faure at kde.org
Thu May 17 22:03:40 BST 2007
On Thursday 17 May 2007, Luboš Luňák wrote:
> SVN commit 665654 by lunakl:
>
> unsetenv() returns int. I wonder why we have the prototype in config.h?
> CCMAIL: kde-core-devel at kde.org
> BUG: 145560
>
>
>
> M +1 -1 config.h.cmake
>
>
> --- trunk/KDE/kdebase/config.h.cmake #665653:665654
> @@ -134,7 +134,7 @@
> #ifdef __cplusplus
> extern "C" {
> #endif
> -void unsetenv (const char *);
> +int unsetenv (const char *);
> #ifdef __cplusplus
> }
> #endif
This is old and should be replaced with a simple #include <kdefakes.h> in the files that use unsetenv.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list