Commit 777e19ba authored by Sebastian Ramacher's avatar Sebastian Ramacher

const correctness

parent 5c71589c
......@@ -270,7 +270,7 @@ cmd_savef(girara_session_t* session, girara_list_t* argument_list)
}
bool
cmd_search(girara_session_t* session, char* input, girara_argument_t* argument)
cmd_search(girara_session_t* session, const char* input, girara_argument_t* argument)
{
g_return_val_if_fail(session != NULL, false);
g_return_val_if_fail(input != NULL, false);
......
......@@ -104,6 +104,6 @@ bool cmd_savef(girara_session_t* session, girara_list_t* argument_list);
* @param argument Passed argument
* @return true if no error occured
*/
bool cmd_search(girara_session_t* session, char* input, girara_argument_t* argument);
bool cmd_search(girara_session_t* session, const char* input, girara_argument_t* argument);
#endif // COMMANDS_H
Markdown is supported
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