diff --git a/RegularExpression.cxx b/RegularExpression.cxx
index 79281d301395f342889b8d9fc0e68da57f4518be..88edc6b70b3425d83b41ec74e192f7072db949d1 100644
--- a/RegularExpression.cxx
+++ b/RegularExpression.cxx
@@ -849,11 +849,6 @@ public:
   int regmatch(const char*);
   int regrepeat(const char*);
 };
-#ifdef DEBUG
-int regnarrate = 0;
-void regdump();
-static char* regprop();
-#endif
 
 // find -- Matches the regular expression to the given string.
 // Returns true if found, and sets start and end indexes accordingly.