aboutsummaryrefslogtreecommitdiffstats
path: root/tools/killev.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2006-01-30 19:54:27 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2006-01-30 19:54:27 +0800
commit4ce156ab5a105682005b33d6636bf7db87f05bcb (patch)
tree432a90016a3c5792692e4194b3999af81a0326a0 /tools/killev.c
parent561081cbd0f657d5e9484bdf99c40fe820b1350b (diff)
downloadgsoc2013-evolution-4ce156ab5a105682005b33d6636bf7db87f05bcb.tar.gz
gsoc2013-evolution-4ce156ab5a105682005b33d6636bf7db87f05bcb.tar.zst
gsoc2013-evolution-4ce156ab5a105682005b33d6636bf7db87f05bcb.zip
Use g_list_delete_link() instead of g_list_remove_link() +
2006-01-30 Kjartan Maraas <kmaraas@gnome.org> * tools/evolution-launch-composer.c: (do_send): Use g_list_delete_link() instead of g_list_remove_link() + g_list_free_1(). * tools/killev.c: mark a couple vars static and remove a stray semi-colon. svn path=/trunk/; revision=31370
Diffstat (limited to 'tools/killev.c')
-rw-r--r--tools/killev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/killev.c b/tools/killev.c
index 0ab1b23a90..419b958587 100644
--- a/tools/killev.c
+++ b/tools/killev.c
@@ -39,8 +39,8 @@ typedef struct {
GPtrArray *names;
} KillevComponent;
-GSList *languages;
-GHashTable *components;
+static GSList *languages;
+static GHashTable *components;
static gboolean
kill_process (const char *proc_name, KillevComponent *comp)
@@ -80,7 +80,7 @@ kill_process (const char *proc_name, KillevComponent *comp)
system (command);
g_free (command);
return TRUE;
-};
+}
static const char *patterns[] = {
"%s", "%.16s", "lt-%s", "lt-%.13s"