diff options
author | Dan Winship <danw@src.gnome.org> | 2002-09-23 06:53:21 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-09-23 06:53:21 +0800 |
commit | 8aa08c6316dfb6a1f2d82ca7bfb9e02954b819d6 (patch) | |
tree | 481b3885c650fa97596a4b46bf90a8d095813caf | |
parent | 0ddf9119dd2baa9bb7784cbbfe1549e1dcaca2a6 (diff) | |
download | gsoc2013-evolution-8aa08c6316dfb6a1f2d82ca7bfb9e02954b819d6.tar.gz gsoc2013-evolution-8aa08c6316dfb6a1f2d82ca7bfb9e02954b819d6.tar.zst gsoc2013-evolution-8aa08c6316dfb6a1f2d82ca7bfb9e02954b819d6.zip |
Fix some non-ANSI switch statements
* e-config-listener.c: Fix some non-ANSI switch statements
* e-path.c: #include <sys/types.h> for OS X
svn path=/trunk/; revision=18156
-rw-r--r-- | e-util/ChangeLog | 6 | ||||
-rw-r--r-- | e-util/e-config-listener.c | 2 | ||||
-rw-r--r-- | e-util/e-path.c | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 68929bce30..6fbc641f9a 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,9 @@ +2002-09-22 Dan Winship <danw@ximian.com> + + * e-config-listener.c: Fix some non-ANSI switch statements + + * e-path.c: #include <sys/types.h> for OS X + 2002-09-11 Chris Toshok <toshok@ximian.com> [ Fixes #27546 ] diff --git a/e-util/e-config-listener.c b/e-util/e-config-listener.c index 1a2c48520f..2e60b8dda2 100644 --- a/e-util/e-config-listener.c +++ b/e-util/e-config-listener.c @@ -102,6 +102,7 @@ free_key_hash (gpointer key, gpointer value, gpointer user_data) g_free (kd->value.v_str); break; default : + break; } g_free (kd); @@ -235,6 +236,7 @@ add_key (EConfigListener *cl, const char *key, GtkFundamentalType type, kd->value.v_str = (char *) value; break; default : + break; } kd->used_default = used_default; diff --git a/e-util/e-path.c b/e-util/e-path.c index 06b75686b1..089ee03842 100644 --- a/e-util/e-path.c +++ b/e-util/e-path.c @@ -20,6 +20,7 @@ #include <config.h> +#include <sys/types.h> #include <dirent.h> #include <string.h> #include <sys/stat.h> |