changeset 31365:e4a52cb9ce41

build: Silence compilation warning -Wstrict-prototypes in oct-rl-edit.c (bug #63210) * octave/util/oct-rl-edit.c (octave_rl_restore_terminal_state): Add void to function definition.
author Rik <rik@octave.org>
date Sat, 29 Oct 2022 18:28:07 -0700
parents 39230ec95b99
children d727bda73574
files liboctave/util/oct-rl-edit.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/util/oct-rl-edit.c	Sat Oct 29 18:25:33 2022 -0700
+++ b/liboctave/util/oct-rl-edit.c	Sat Oct 29 18:28:07 2022 -0700
@@ -134,7 +134,7 @@
 }
 
 void
-octave_rl_restore_terminal_state ()
+octave_rl_restore_terminal_state (void)
 {
   if (rl_deprep_term_function)
     rl_deprep_term_function ();