taplib's is_str() should take const char *

This commit is contained in:
Paul LeoNerd Evans 2011-03-31 13:42:27 +01:00
parent be153dc5ee
commit 1bf3c958b1
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ void is_int(int got, int expect, char *name)
}
}
void is_str(char *got, char *expect, char *name)
void is_str(const char *got, const char *expect, char *name)
{
if(strcmp(got, expect) == 0)
ok(1, name);

View File

@ -1,5 +1,5 @@
void plan_tests(int n);
void ok(int cmp, char *name);
void is_int(int got, int expect, char *name);
void is_str(char *got, char *expect, char *name);
void is_str(const char *got, const char *expect, char *name);
int exit_status(void);