/*
* Return 0 if session name is found, else -1
*/
-static int find_session_name(char *name)
+static int find_session_name(const char *name)
{
struct ltt_session *iter;
/*
* Test creation of 1 session
*/
-static int create_one_session(char *name)
+static int create_one_session(const char *name)
{
int ret;
enum lttng_error_code ret_code;