Mark some global vars as const and static and some static local vars as const

This way the compiler puts those vars in .rodata instead of .data and everyone
happy. (Plus we have one symbol less exported)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1241 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-10-07 13:45:34 +00:00
parent 92a718e3a6
commit 2573b6408e
4 changed files with 7 additions and 9 deletions
-2
View File
@@ -50,8 +50,6 @@ static const unsigned char base64_table[256] = {
XX,XX,XX,XX, XX,XX,XX,XX, XX,XX,XX,XX, XX,XX,XX,XX,
};
extern const char* g_szHTMLescapes[256];
class CString : public string {
public:
typedef enum {