bk: 47185548cLaOdAKwtLWDse_-wT9UHQ
+* -ledit cleanup for ntpdc and ntpq.
* Association and other cleanup from Dave Mills.
* NTP_UNREACH changes from Dave Mills.
* Fix the readline history test.
#endif /* HAVE_LIBREADLINE */
#if defined (HAVE_LIBEDIT)
-# include <editline/readline.h>
+# include <histedit.h>
#endif /* HAVE_LIBEDIT */
#ifdef SYS_VXWORKS
static void
getcmds(void)
{
-#if defined(HAVE_LIBREADLINE) || defined(HAVE_LIBEDIT)
+#if defined(HAVE_LIBREADLINE)
char *line;
for (;;) {
docmd(line);
free(line);
}
-#else /* not (HAVE_LIBREADLINE || HAVE_LIBEDIT) */
+#else /* not (HAVE_LIBREADLINE) */
char line[MAXLINE];
for (;;) {
#endif /* HAVE_LIBREADLINE */
#if defined(HAVE_LIBEDIT)
-# include <editline/readline.h>
+# include <histedit.h>
#endif /* HAVE_LIBEDIT */
#ifdef SYS_VXWORKS
static void
getcmds(void)
{
-#if defined(HAVE_LIBREADLINE) || defined(HAVE_LIBEDIT)
+#if defined(HAVE_LIBREADLINE)
char *line;
for (;;) {
docmd(line);
free(line);
}
-#else /* not (HAVE_LIBREADLINE || HAVE_LIBEDIT) */
+#else /* not (HAVE_LIBREADLINE) */
char line[MAXLINE];
for (;;) {