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

List:       kde-commits
Subject:    KDE/kdeutils/kcalc
From:       Evan Teran <eteran () alum ! rit ! edu>
Date:       2010-08-26 16:08:40
Message-ID: 20100826160840.85F88AC857 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1168422 by teran:

cleaning up includes. No need to conditionally decide to include <cxxx> instead of <xxx.h>
if we support platforms that don't have the c++ style version, then we'll simply
only se the c style one.

Also removed an uneccesary include in knumber.h



 M  +0 -10     kcalc_core.cpp  
 M  +0 -2      knumber/knumber.h  


--- trunk/KDE/kdeutils/kcalc/kcalc_core.cpp #1168421:1168422
@@ -36,22 +36,12 @@
 
 #include <config-kcalc.h>
 
-#if defined(_ISOC99_SOURCE)
-#include <cassert>
-#include <cstdio>
-#include <climits>
-#include <csignal>
-#include <cerrno>
-#include <cstring>
-using namespace std;
-#else
 #include <limits.h>
 #include <stdio.h>
 #include <assert.h>
 #include <signal.h>
 #include <errno.h>
 #include <string.h>
-#endif
 
 #include <stdlib.h>
 #include <kdebug.h>
--- trunk/KDE/kdeutils/kcalc/knumber/knumber.h #1168421:1168422
@@ -22,8 +22,6 @@
 
 #include <kdemacros.h>
 
-#include "knumber_priv.h"
-
 class QString;
 
 class _knumber;
[prev in list] [next in list] [prev in thread] [next in thread] 

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