Make some more things 'const' that should be

This commit is contained in:
Paul LeoNerd Evans
2013-07-15 01:03:35 +01:00
parent b4067d8afb
commit 89ac8b058c
5 changed files with 12 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ int main(int argc, char *argv[])
{
TermKey *tk;
TermKeySym sym;
char *end;
const char *end;
plan_tests(10);

View File

@@ -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)

View File

@@ -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)