ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/src message_parse.c,1.11,1.12 prefs.c,1.20,1


From: Andy Maloney <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src message_parse.c,1.11,1.12 prefs.c,1.20,1.21 util.c,1.19,1.20
Date: Mon, 20 Jan 2003 13:10:55 -0500

Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv17481/src

Modified Files:
        message_parse.c prefs.c util.c 
Log Message:
Made some functions and vars static

Index: message_parse.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/message_parse.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- message_parse.c     16 Jan 2003 13:11:01 -0000      1.11
+++ message_parse.c     20 Jan 2003 18:10:53 -0000      1.12
@@ -23,11 +23,8 @@
   Message Parser
   ***************************/
 
-#ifdef HAVE_CONFIG_H
-#  include <config.h>
-#endif
-
 #include "intl.h"
+
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
@@ -80,7 +77,7 @@
 } progress_callback_data;
 
 
-void send_file2(void * ptr )
+static void send_file2(void * ptr )
 {
        send_file_struct * sfs = ptr;
        unsigned long i = 0;
@@ -165,7 +162,7 @@
 #endif
 }
                
-int update_send_progress(gpointer data )
+static int update_send_progress(gpointer data )
 {
        progress_callback_data * pcd = data;
 #ifndef __MINGW32__
@@ -202,7 +199,7 @@
        return TRUE;
 }
 
-void send_file( char * filename, int s )
+static void send_file( char * filename, int s )
 {
        static send_file_struct sfs;
        struct stat fileinfo;
@@ -279,7 +276,7 @@
 
 
 
-void get_file2( void *data, int source, eb_input_condition condition )
+static void get_file2( void *data, int source, eb_input_condition condition )
 {
        char buffer[1025];
        int len2;
@@ -309,7 +306,7 @@
 }
 
        
-void accept_file( GtkWidget * widget, gpointer data )
+static void accept_file( GtkWidget * widget, gpointer data )
 {
        int result = (int)gtk_object_get_user_data( GTK_OBJECT(widget));
        progress_callback_data * pcd = data;
@@ -334,7 +331,7 @@
        }
 }
 
-void get_file( int s )
+static void get_file( int s )
 {
        int len;
        unsigned long filelen;

Index: prefs.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/prefs.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- prefs.c     20 Jan 2003 14:06:31 -0000      1.20
+++ prefs.c     20 Jan 2003 18:10:53 -0000      1.21
@@ -643,10 +643,11 @@
 static gint do_smiley = 1;
 static gint do_smiley_old = 1;
 
-GdkDeviceKey accel_prev_tab =     { GDK_Left, GDK_CONTROL_MASK };
-GdkDeviceKey accel_prev_tab_old = { GDK_Left, GDK_CONTROL_MASK };
-GdkDeviceKey accel_next_tab =     { GDK_Right, GDK_CONTROL_MASK };
-GdkDeviceKey accel_next_tab_old = { GDK_Right, GDK_CONTROL_MASK };
+GdkDeviceKey accel_prev_tab = { GDK_Left, GDK_CONTROL_MASK };
+GdkDeviceKey accel_next_tab = { GDK_Right, GDK_CONTROL_MASK };
+
+static GdkDeviceKey accel_prev_tab_old = { GDK_Left, GDK_CONTROL_MASK };
+static GdkDeviceKey accel_next_tab_old = { GDK_Right, GDK_CONTROL_MASK };
 
 static guint accel_change_handler_id = 0;
 

Index: util.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/util.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- util.c      20 Jan 2003 14:13:29 -0000      1.19
+++ util.c      20 Jan 2003 18:10:53 -0000      1.20
@@ -25,9 +25,7 @@
  *
  */
 
-#ifdef HAVE_CONFIG_H
-#  include <config.h>
-#endif
+#include "intl.h"
 
 #include <string.h>
 #include <errno.h>
@@ -46,7 +44,6 @@
 #include <netdb.h>
 #endif
 
-#include "intl.h"
 #include "util.h"
 #include "status.h"
 #include "globals.h"
@@ -160,7 +157,7 @@
  * if it has anything else, then it can't be a domain name
  */
 
-gint is_valid_domain( gchar * name )
+static gint is_valid_domain( gchar * name )
 {
        int i;
        int dot_count = 0;
@@ -271,7 +268,7 @@
 }
 /* this function will be used to determine if a given token is a link */
 
-gint is_link( gchar * token )
+static gint is_link( gchar * token )
 {
        int i;
        int len = strlen(token);
@@ -357,7 +354,7 @@
        return TOKEN_NORMAL;
 }
 
-GString * get_next_token(char * input)
+static GString * get_next_token(char * input)
 {
        int i = 0;
        int len = strlen(input);
@@ -474,7 +471,7 @@
        return string;
 }
                        
-void linkify_token( GString * token )
+static void linkify_token( GString * token )
 {
        GString * g;
        GString * g2;
@@ -892,7 +889,7 @@
 }
 
 // FIXME: Do we really need to use aim_normalize?  I copied it from the 
libtoc/libtoc.c to facilitate making modules
-char *aim_normalize(char *s)
+static char *aim_normalize(char *s)
 {
     static char buf[255];
         char *t, *u;
@@ -1225,7 +1222,7 @@
     return c;
 }
 
-void add_account_verbose( gchar * contact, eb_account * account, gboolean 
verbosity )
+static void add_account_verbose( gchar * contact, eb_account * account, 
gboolean verbosity )
 {
     struct contact * c = find_contact_by_nick( contact );
     eb_account * ea = find_account_by_handle(account->handle, 
account->service_id);
@@ -1279,7 +1276,7 @@
        add_account_verbose(contact, account, TRUE);
 }
 
-void add_contact( gchar * group, struct contact * user )
+static void add_contact( gchar * group, struct contact * user )
 {
     grouplist * grp = find_grouplist_by_name(group);
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]