diff options
Diffstat (limited to 'src/history.h')
-rw-r--r-- | src/history.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/history.h b/src/history.h index 6fedecc..199e028 100644 --- a/src/history.h +++ b/src/history.h @@ -1,6 +1,7 @@ #ifndef HISTORY_H #define HISTORY_H +#include <stdbool.h> #include <stddef.h> struct program { @@ -24,8 +25,8 @@ void history_add(struct history *restrict vec, const char *restrict str); //void history_remove(struct history *restrict vec, const char *restrict str); [[nodiscard("memory leaked")]] -struct history history_load(void); +struct history history_load(bool drun); -void history_save(struct history *history); +void history_save(struct history *history, bool drun); #endif /* HISTORY_H */ |