diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-03-31 13:42:27 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-03-31 13:42:27 +0100 |
commit | 1bf3c958b13d70e495299238f0e178f8f99ced67 (patch) | |
tree | 442ef042be97c7880ddabd01a6dfa895102a997b /t | |
parent | be153dc5ee8c9f016c1a1014329dcd44450f78a1 (diff) | |
download | termo-1bf3c958b13d70e495299238f0e178f8f99ced67.tar.gz termo-1bf3c958b13d70e495299238f0e178f8f99ced67.tar.xz termo-1bf3c958b13d70e495299238f0e178f8f99ced67.zip |
taplib's is_str() should take const char *
Diffstat (limited to 't')
-rw-r--r-- | t/taplib.c | 2 | ||||
-rw-r--r-- | t/taplib.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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); @@ -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); |