Mark some private symbols as static
authorXavier Claessens <xclaesse@src.gnome.org>
Sat, 9 Feb 2008 19:45:21 +0000 (19:45 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Sat, 9 Feb 2008 19:45:21 +0000 (19:45 +0000)
svn path=/trunk/; revision=612

libempathy-gtk/empathy-chat.c

index fbdf6df44f7dfd433ea040dc5bbdff047069490f..ad259d2d33dd634aff8f838654936263e8e0d015 100644 (file)
@@ -112,10 +112,10 @@ static void             chat_send_error_cb                (EmpathyTpChat
                                                           EmpathyMessage         *message,
                                                           TpChannelTextSendError  error_code,
                                                           EmpathyChat            *chat);
-void                    chat_sent_message_add             (EmpathyChat            *chat,
+static void             chat_sent_message_add             (EmpathyChat            *chat,
                                                           const gchar            *str);
-const gchar *           chat_sent_message_get_next        (EmpathyChat            *chat);
-const gchar *           chat_sent_message_get_last        (EmpathyChat            *chat);
+static const gchar *    chat_sent_message_get_next        (EmpathyChat            *chat);
+static const gchar *    chat_sent_message_get_last        (EmpathyChat            *chat);
 static gboolean         chat_input_key_press_event_cb     (GtkWidget              *widget,
                                                           GdkEventKey            *event,
                                                           EmpathyChat            *chat);
@@ -579,7 +579,7 @@ chat_send_error_cb (EmpathyTpChat          *tp_chat,
        g_free (str);
 }
 
-void 
+static void 
 chat_sent_message_add (EmpathyChat  *chat,
                       const gchar *str)
 {
@@ -617,7 +617,7 @@ chat_sent_message_add (EmpathyChat  *chat,
        priv->sent_messages_index = -1;
 }
 
-const gchar *
+static const gchar *
 chat_sent_message_get_next (EmpathyChat *chat)
 {
        EmpathyChatPriv *priv;
@@ -644,7 +644,7 @@ chat_sent_message_get_next (EmpathyChat *chat)
        return g_slist_nth_data (priv->sent_messages, priv->sent_messages_index);
 }
 
-const gchar *
+static const gchar *
 chat_sent_message_get_last (EmpathyChat *chat)
 {
        EmpathyChatPriv *priv;