refactor testcase_str2dep
[platform/upstream/libsolv.git] / ext / testcase.h
index 20c7095..4243e4f 100644 (file)
@@ -15,7 +15,7 @@
 #define TESTCASE_RESULT_RECOMMENDED    (1 << 3)
 #define TESTCASE_RESULT_UNNEEDED       (1 << 4)
 
-extern Id testcase_str2dep(Pool *pool, char *s);
+extern Id testcase_str2dep(Pool *pool, const char *s);
 extern const char *testcase_repoid2str(Pool *pool, Id repoid);
 extern const char *testcase_solvid2str(Pool *pool, Id p);
 extern Repo *testcase_str2repo(Pool *pool, const char *str);