[Telepathy-commits] [telepathy-idle/master] Correct the order of "const static" to "static const"
Will Thompson
will.thompson at collabora.co.uk
Wed Sep 24 02:47:07 PDT 2008
---
src/idle-handles.c | 2 +-
src/idle-parser.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/idle-handles.c b/src/idle-handles.c
index fe59201..2dd9ea3 100644
--- a/src/idle-handles.c
+++ b/src/idle-handles.c
@@ -70,7 +70,7 @@ static gboolean _nickname_is_valid(const gchar *nickname) {
}
static gboolean _channelname_is_valid(const gchar *channel) {
- const static gchar not_allowed_chars[] = {' ', '\007', ',', '\r', '\n', ':', '\0'};
+ static const gchar not_allowed_chars[] = {' ', '\007', ',', '\r', '\n', ':', '\0'};
if ((channel[0] != '#') && (channel[0] != '!') && (channel[0] != '&') && (channel[0] != '+'))
return FALSE;
diff --git a/src/idle-parser.c b/src/idle-parser.c
index 68df69b..20c4b16 100644
--- a/src/idle-parser.c
+++ b/src/idle-parser.c
@@ -59,7 +59,7 @@ struct _MessageSpec {
IdleParserMessageCode code;
};
-const static MessageSpec message_specs[] = {
+static const MessageSpec message_specs[] = {
{"PING", "Is", IDLE_PARSER_CMD_PING},
{"INVITE", "cIcr", IDLE_PARSER_PREFIXCMD_INVITE},
--
1.5.6.5
More information about the Telepathy-commits
mailing list