From kde-core-devel Thu May 17 21:03:40 2007 From: David Faure Date: Thu, 17 May 2007 21:03:40 +0000 To: kde-core-devel Subject: Re: KDE/kdebase Message-Id: <200705172303.44804.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=117943587614565 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 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).