Made most internal tables 'static const'.

This commit is contained in:
Dan Fandrich
2007-04-17 18:12:41 +00:00
parent d45d509a09
commit 5dd66e604f
12 changed files with 108 additions and 98 deletions

View File

@@ -186,10 +186,10 @@ void _libssh2_debug(LIBSSH2_SESSION *session, int context,
char buffer[1536];
int len;
va_list vargs;
static const char *contexts[9] = {
static const char * const contexts[9] = {
"Unknown",
"Transport",
"Key Exhange",
"Key Exchange",
"Userauth",
"Connection",
"scp",