diff --git a/src/modules/Parser/xml.cmod b/src/modules/Parser/xml.cmod
index 14892cadf53ea9ad877e9834236c33de5c59c48f..45824b1adf5d7928c8b6756ce79d3575d27f557d 100644
--- a/src/modules/Parser/xml.cmod
+++ b/src/modules/Parser/xml.cmod
@@ -715,7 +715,7 @@ PIKECLASS Simple
    *! @note
    *!   The @[context] argument was introduced in Pike 7.8.
    */
-  PIKEFUN array parse(string s, string|function cb, mixed ... extra_args)
+  PIKEFUN array parse(string s, string|function cb, mixed ... UNUSED)
     rawtype PARSETYPE;
   {
     int d;
@@ -753,7 +753,7 @@ PIKECLASS Simple
    *! @note
    *!   The @[context] argument was introduced in Pike 7.8.
    */
-  PIKEFUN mixed parse_dtd(string s, string|function cb, mixed ... extras)
+  PIKEFUN mixed parse_dtd(string s, string|function cb, mixed ... UNUSED)
     rawtype PARSETYPE;
   {
     int d;