mirror of
https://github.com/znc/znc.git
synced 2026-07-06 01:41:12 +02:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user