diff options
author | pixel <pixel> | 2002-12-10 20:18:04 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-12-10 20:18:04 +0000 |
commit | d5ff9795dab4aba0aa0e2fa8d62e3cc4808acb5e (patch) | |
tree | d69945ecacde43d1423efb5c3e22922a6739b348 /include | |
parent | 20c9dd53afe35ee56ca0e0ef96a773eceb373b24 (diff) |
Brain in the fridge
Diffstat (limited to 'include')
-rw-r--r-- | include/Exceptions.h | 3 | ||||
-rw-r--r-- | include/generic.h | 2 |
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> |