diff --git a/WiServer.cpp b/WiServer.cpp index 2dce1f1..056eb3e 100644 --- a/WiServer.cpp +++ b/WiServer.cpp @@ -54,18 +54,18 @@ extern "C" { #define LF 10 // Strings stored in program memory (defined in strings.c) -extern const prog_char httpOK[]; -extern const prog_char httpNotFound[]; -extern const prog_char http10[]; -extern const prog_char post[]; -extern const prog_char get[]; -extern const prog_char authBasic[]; -extern const prog_char host[]; -extern const prog_char userAgent[]; -extern const prog_char contentTypeForm[]; -extern const prog_char contentLength[]; -extern const prog_char status[]; -extern const prog_char base64Chars[]; +extern const char /*prog_char*/ httpOK[]; +extern const char /*prog_char*/ httpNotFound[]; +extern const char /*prog_char*/ http10[]; +extern const char /*prog_char*/ post[]; +extern const char /*prog_char*/ get[]; +extern const char /*prog_char*/ authBasic[]; +extern const char /*prog_char*/ host[]; +extern const char /*prog_char*/ userAgent[]; +extern const char /*prog_char*/ contentTypeForm[]; +extern const char /*prog_char*/ contentLength[]; +extern const char /*prog_char*/ status[]; +extern const char /*prog_char*/ base64Chars[]; /* GregEigsti - jrwifi submitted WiServer stability fix */ diff --git a/config.h b/config.h index a3245d1..451a388 100644 --- a/config.h +++ b/config.h @@ -41,17 +41,17 @@ extern U8 local_ip[]; extern U8 gateway_ip[]; extern U8 subnet_mask[]; -extern char ssid[]; +extern const char ssid[]; extern U8 ssid_len; -extern const prog_char security_passphrase[]; +extern const char /*prog_char*/ security_passphrase[]; extern U8 security_passphrase_len; extern U8 security_type; extern U8 wireless_mode; -extern prog_uchar wep_keys[]; +extern const unsigned char /*prog_uchar*/ wep_keys[]; -extern const prog_char webpage[]; -extern const prog_char twitter[]; +extern const char /*prog_char*/ webpage[]; +extern const char /*prog_char*/ twitter[]; extern unsigned char mfg_id[4]; #define WIRELESS_MODE_INFRA 1