diff options
author | Chet Ramey <chet.ramey@case.edu> | 2023-04-27 15:33:37 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2023-04-27 15:33:37 -0400 |
commit | f156385efb545a5ab96a2461555955d7f280aac4 (patch) | |
tree | 4c4ede0b0755f46629e1076b884ccf03654f5d47 /examples/rltest.c | |
parent | 14144013617be12f94b99b05bf0928a8d1eba743 (diff) | |
download | readline-devel.tar.gz |
asan updates to non-incremental search, redisplay; rework non-incremental search to avoid pointer aliasing issuesdevel
Diffstat (limited to 'examples/rltest.c')
-rw-r--r-- | examples/rltest.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/rltest.c b/examples/rltest.c index 8b7c00c..feab90f 100644 --- a/examples/rltest.c +++ b/examples/rltest.c @@ -4,7 +4,7 @@ /* */ /* **************************************************************** */ -/* Copyright (C) 1987-2009 Free Software Foundation, Inc. +/* Copyright (C) 1987-2009,2023 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -48,10 +48,8 @@ extern void exit(); # include <readline/history.h> #endif -extern HIST_ENTRY **history_list (); - int -main () +main (int c, char **v) { char *temp, *prompt; int done; |