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

List:       kde-commits
Subject:    kdeadmin/ksysv
From:       Dirk Mueller <mueller () kde ! org>
Date:       2003-06-21 12:54:23
[Download RAW message or body]

CVS commit by mueller: 

there is no such thing as a const pointer


  M +5 -3      main.cpp   1.42


--- kdeadmin/ksysv/main.cpp  #1.41:1.42
@@ -17,5 +17,5 @@
 #include <stdlib.h>
 
-#include <iostream.h>
+#include <iostream>
 
 #include <qvariant.h>
@@ -36,6 +36,8 @@
 #include "version.h"
 
-static const char* copyright = "SysV-Init Editor " KSYSV_VERSION_STRING " Copyright \
                © 1997-2000 Peter Putzer.";
-static const char* license = "All rights reserved. Released under the GNU General \
Public License (GPL)."; +using namespace std;
+
+static const char copyright[] = "SysV-Init Editor " KSYSV_VERSION_STRING " Copyright \
© 1997-2000 Peter Putzer."; +static const char license []  = "All rights reserved. \
Released under the GNU General Public License (GPL).";  
 #if (defined(DEBUG) && !(defined(NDEBUG) || defined(NO_DEBUG)))


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

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