diff options
Diffstat (limited to 'readline/rltty.c')
-rw-r--r-- | readline/rltty.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/readline/rltty.c b/readline/rltty.c index b4d0cf127d5..f87c1c9747f 100644 --- a/readline/rltty.c +++ b/readline/rltty.c @@ -368,12 +368,15 @@ static TIOTYPE otio; # define OUTPUT_BEING_FLUSHED(tp) 0 #endif +#if defined (_AIX) || (defined (FLUSHO) && defined (_AIX41)) static void rltty_warning (msg) char *msg; { fprintf (stderr, "readline: warning: %s\n", msg); } +#endif + #if defined (_AIX) void @@ -604,8 +607,8 @@ rl_deprep_terminal () /* **************************************************************** */ int -rl_restart_output (count, key) - int count, key; +rl_restart_output (int count __attribute__((unused)), + int key __attribute__((unused))) { int fildes = fileno (rl_outstream); #if defined (TIOCSTART) @@ -637,8 +640,8 @@ rl_restart_output (count, key) } int -rl_stop_output (count, key) - int count, key; +rl_stop_output (int count __attribute__((unused)), + int key __attribute__((unused))) { int fildes = fileno (rl_instream); |