]> www.ginac.de Git - cln.git/blobdiff - tests/tests.cc
cmake build: moved cl_config.h.cmake to `autoconf`
[cln.git] / tests / tests.cc
index 905235a924a346831b3ad4bf9651ef0dd92dccc7..d13fd580b42674b26229b2a7f68f7b554f278e39 100644 (file)
@@ -1,5 +1,5 @@
-#include <stdlib.h>
-#include <string.h>
+#include <cstdlib>
+#include <cstring>
 #include <cln/io.h>
 
 extern int test_I (int iterations);
@@ -21,7 +21,7 @@ int test_all (int iterations)
 int main (int argc, char* argv[])
 {
        int iterations = 10000;
-       if ((argc >= 3) && !strcmp(argv[1],"-i")) {
+       if ((argc >= 3) && !::strcmp(argv[1],"-i")) {
                iterations = atoi(argv[2]);
                argc -= 2; argv += 2;
        }