diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2013-07-15 01:03:35 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2013-07-15 01:03:35 +0100 |
commit | 89ac8b058cb7bb8f7bc47a4a42fa5642abc84dae (patch) | |
tree | fc5c8e50b8dde9ec35a87c148e8f06bcc9cad7eb /t | |
parent | b4067d8afb3f6d24b341eca46bb031f56011ab05 (diff) | |
download | termo-89ac8b058cb7bb8f7bc47a4a42fa5642abc84dae.tar.gz termo-89ac8b058cb7bb8f7bc47a4a42fa5642abc84dae.tar.xz termo-89ac8b058cb7bb8f7bc47a4a42fa5642abc84dae.zip |
Make some more things 'const' that should be
Diffstat (limited to 't')
-rw-r--r-- | t/10keyname.c | 2 | ||||
-rw-r--r-- | t/12strpkey.c | 2 | ||||
-rw-r--r-- | t/20canon.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/t/10keyname.c b/t/10keyname.c index feedbc4..0872bbc 100644 --- a/t/10keyname.c +++ b/t/10keyname.c @@ -5,7 +5,7 @@ int main(int argc, char *argv[]) { TermKey *tk; TermKeySym sym; - char *end; + const char *end; plan_tests(10); diff --git a/t/12strpkey.c b/t/12strpkey.c index cb3d3c0..28c32f5 100644 --- a/t/12strpkey.c +++ b/t/12strpkey.c @@ -5,7 +5,7 @@ int main(int argc, char *argv[]) { TermKey *tk; TermKeyKey key; - char *endp; + const char *endp; #define CLEAR_KEY do { key.type = -1; key.code.codepoint = -1; key.modifiers = -1; key.utf8[0] = 0; } while(0) diff --git a/t/20canon.c b/t/20canon.c index 8d7b6ad..0460153 100644 --- a/t/20canon.c +++ b/t/20canon.c @@ -5,7 +5,7 @@ int main(int argc, char *argv[]) { TermKey *tk; TermKeyKey key; - char *endp; + const char *endp; #define CLEAR_KEY do { key.type = -1; key.code.codepoint = -1; key.modifiers = -1; key.utf8[0] = 0; } while(0) |