Made some const arrays static to avoid unnecessary stack usage.

This commit is contained in:
Dan Fandrich 2007-07-20 00:41:12 +00:00
parent dca3564cfb
commit 4a2f0fb2be
5 changed files with 7 additions and 7 deletions

View file

@ -252,7 +252,7 @@ static void state(struct connectdata *conn, sshstate state)
{
#if defined(CURLDEBUG) && !defined(CURL_DISABLE_VERBOSE_STRINGS)
/* for debug purposes */
const char *names[] = {
static const char *names[] = {
"SSH_STOP",
"SSH_S_STARTUP",
"SSH_AUTHLIST",