projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added description for BD style explosion
[rocksndiamonds.git]
/
src
/
libgame
/
base64.c
diff --git
a/src/libgame/base64.c
b/src/libgame/base64.c
index 485f81bc9e1ce64b4a4f74a566807f605487a2d4..1c3e6aad5a0dadb27354a88ec15e7686e17ad09f 100644
(file)
--- a/
src/libgame/base64.c
+++ b/
src/libgame/base64.c
@@
-50,7
+50,7
@@
#include "base64.h"
#include "base64.h"
-
const static
char *b64encode =
+
static const
char *b64encode =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
int base64_encoded_size(int unencoded_size)
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
int base64_encoded_size(int unencoded_size)
@@
-103,10
+103,10
@@
void base64_encode(char *encoded_data,
*ptr++ = '=';
}
*ptr++ = '=';
}
- *ptr++= '\0';
+ *ptr++
= '\0';
}
}
-
const static
byte b64decode[] =
+
static const
byte b64decode[] =
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16