summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Exceptions.h3
-rw-r--r--include/generic.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/include/Exceptions.h b/include/Exceptions.h
index 79078e5..a3fad9e 100644
--- a/include/Exceptions.h
+++ b/include/Exceptions.h
@@ -8,6 +8,8 @@
#include <string.h>
#include <stdlib.h>
+class String;
+
class Base {
public:
static char * strdup(const char * s);
@@ -23,6 +25,7 @@ class Base {
static int pipe(int * p, int flag = 0);
static pid_t fork();
static void exit(int);
+ static void printm(int level, String fmt, ...);
};
class String;
diff --git a/include/generic.h b/include/generic.h
index f9ec000..4b9c455 100644
--- a/include/generic.h
+++ b/include/generic.h
@@ -77,8 +77,6 @@ extern char verbosity;
char ** split(char * s, char t);
#ifdef __cplusplus
-#include <String.h>
-void printm(int level, String fmt, ...);
#ifndef MAX
template<class T>