From b693b8735bd64f248b428b5582ce064d03646d91 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sat, 8 Oct 2011 23:23:56 +0200 Subject: [PATCH] make input of completion callbacks const --- completion.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/completion.h b/completion.h index 9de1d91..947e9d8 100644 --- a/completion.h +++ b/completion.h @@ -13,7 +13,7 @@ * @param input The current input * @return The completion object or NULL if an error occured */ -girara_completion_t* cc_open(girara_session_t* session, char* input); +girara_completion_t* cc_open(girara_session_t* session, const char* input); /** * Completion for the bmarks command - Creates a list of bookmarks @@ -22,7 +22,7 @@ girara_completion_t* cc_open(girara_session_t* session, char* input); * @param input The current input * @return The completion object or NULL if an error occured */ -girara_completion_t* cc_bookmarks(girara_session_t* session, char* input); +girara_completion_t* cc_bookmarks(girara_session_t* session, const char* input); #endif // COMPLETION_H