upgraded to xpdf-3.01pl1
[swftools.git] / pdf2swf / xpdf / GString.h
index 2083802..f4ff7c6 100644 (file)
@@ -17,8 +17,6 @@
 #pragma interface
 #endif
 
-#include <string.h>
-
 class GString {
 public:
 
@@ -83,11 +81,10 @@ public:
   GString *lowerCase();
 
   // Compare two strings:  -1:<  0:=  +1:>
-  // These functions assume the strings do not contain null characters.
-  int cmp(GString *str) { return strcmp(s, str->getCString()); }
-  int cmpN(GString *str, int n) { return strncmp(s, str->getCString(), n); }
-  int cmp(const char *sA) { return strcmp(s, sA); }
-  int cmpN(const char *sA, int n) { return strncmp(s, sA, n); }
+  int cmp(GString *str);
+  int cmpN(GString *str, int n);
+  int cmp(const char *sA);
+  int cmpN(const char *sA, int n);
 
 private: