diff --git a/src/interpret.c b/src/interpret.c
index 563c913f7a0bb5b1887536d38091dacdf6ae8290..9d43463a7bdb8ed5e28e684e028f8a76f9e488e6 100644
--- a/src/interpret.c
+++ b/src/interpret.c
@@ -3062,7 +3062,7 @@ void low_safe_apply_handler(const char *fun,
   }
 }
 
-PMOD_EXPORT push_text( const char *x )
+PMOD_EXPORT void push_text( const char *x )
 {
     struct svalue *_sp_ = Pike_sp++;
     SET_SVAL_SUBTYPE(*_sp_, 0);