diff --git a/src/iocsh/epicsReadline.c b/src/iocsh/epicsReadline.c index b6cd6a3be..c08d778a4 100644 --- a/src/iocsh/epicsReadline.c +++ b/src/iocsh/epicsReadline.c @@ -16,23 +16,22 @@ #include #include +char *epics_readline (const char *prompt) +{ + return readline (prompt); +} + #else /* * Fake versions of some readline/history routines */ -#define readline(p) do { } while(0) #define stifle_history(n) do { } while(0) #define add_history(l) do { } while(0) #define rl_bind_key(c,f) do { } while(0) #endif -char *epics_readline (const char *prompt) -{ - return readline (prompt); -} - void epics_stifle_history (int n) { stifle_history (n);