summaryrefslogtreecommitdiff
path: root/src/compgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compgen.h')
-rw-r--r--src/compgen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compgen.h b/src/compgen.h
index 5e36576..b3105db 100644
--- a/src/compgen.h
+++ b/src/compgen.h
@@ -10,6 +10,7 @@ char *compgen(void);
[[nodiscard("memory leaked")]]
char *compgen_cached(void);
-void compgen_history_sort(struct string_ref_vec *programs, struct history *history);
+[[nodiscard("memory leaked")]]
+struct string_ref_vec compgen_history_sort(struct string_ref_vec *programs, struct history *history);
#endif /* COMPGEN_H */