Commit b693b873 authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

make input of completion callbacks const

parent 4efecff6
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment