mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 01:22:37 +03:00
[readline] Allow readline_history() to return a meaningful status
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -50,9 +50,8 @@ struct readline_history {
|
||||
};
|
||||
|
||||
extern void history_free ( struct readline_history *history );
|
||||
extern char * __malloc readline_history ( const char *prompt,
|
||||
const char *prefill,
|
||||
struct readline_history *history );
|
||||
extern int readline_history ( const char *prompt, const char *prefill,
|
||||
struct readline_history *history, char **line );
|
||||
extern char * __malloc readline ( const char *prompt );
|
||||
|
||||
#endif /* _READLINE_H */
|
||||
|
||||
Reference in New Issue
Block a user