Revert previous commit (r3889). Windows code has to be cleaned before this
change.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3890 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/util.h b/common/rfb/util.h
index 8bf5484..933df52 100644
--- a/common/rfb/util.h
+++ b/common/rfb/util.h
@@ -30,8 +30,6 @@
#include <limits.h>
#include <string.h>
-char* safe_strdup(const char* s);
-
namespace rfb {
// -=- Class to handle cleanup of arrays of characters
@@ -54,6 +52,9 @@
CharArray& operator=(const CharArray&);
};
+ char* strDup(const char* s);
+ void strFree(char* s);
+
// Returns true if split successful. Returns false otherwise.
// ALWAYS *copies* first part of string to out1 buffer.
// If limiter not found, leaves out2 alone (null) and just copies to out1.