[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE/kdebase
From:       David Faure <faure () kde ! org>
Date:       2007-05-17 21:03:40
Message-ID: 200705172303.44804.faure () kde ! org
[Download RAW message or body]

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@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@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic