Skip to content

Commit

Permalink
client: provide a working prototype for readline()
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentbernat committed May 4, 2024
1 parent f0a3aed commit 009406a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
# elif defined(HAVE_READLINE_H)
# include <readline.h>
# else
extern char *readline();
extern char *readline(const char *);
extern char *rl_line_buffer;
extern int rl_point;
extern int rl_insert_text(const char *);
extern void rl_forced_update_display(void);
extern int rl_bind_key(int, int (*f)(int, int));
extern void rl_forced_update_display(void);
# endif
#endif
#ifdef HAVE_READLINE_HISTORY
Expand All @@ -57,7 +57,7 @@ extern int rl_bind_key(int, int (*f)(int, int));
# elif defined(HAVE_HISTORY_H)
# include <history.h>
# else
extern void add_history();
extern void add_history(const char *);
# endif
#endif
#undef NEWLINE
Expand Down

0 comments on commit 009406a

Please sign in to comment.