const correctness

This commit is contained in:
Sebastian Ramacher 2011-12-09 14:48:16 +01:00
parent 5c71589c6f
commit 777e19baf4
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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