aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-04-17 03:16:53 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-04-17 03:16:53 +0800
commitaef303fd88ebb4b848fb04a80d9670c43831754c (patch)
tree9a31b31d6eac148b6b9ce710d37deafd41ac5176
parentf9b7406f1dbc712cb1b4f40f0e729a25cf24f27c (diff)
downloadgsoc2013-evolution-aef303fd88ebb4b848fb04a80d9670c43831754c.tar.gz
gsoc2013-evolution-aef303fd88ebb4b848fb04a80d9670c43831754c.tar.zst
gsoc2013-evolution-aef303fd88ebb4b848fb04a80d9670c43831754c.zip
Added a prototype for stamp().
2001-04-16 Jeffrey Stedfast <fejj@ximian.com> * camel-operation.c: Added a prototype for stamp(). * camel-charset-map.c (camel_charset_locale_name): #include string.h so we don't get a warning about strchr being undefined and also init charset to NULL. * camel-pgp-context.c (pgp_verify): Go back to doing the utf8 conversion by hand so that we don't depend on gal. svn path=/trunk/; revision=9388
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/Makefile.am1
-rw-r--r--camel/camel-charset-map.c3
-rw-r--r--camel/camel-operation.c2
4 files changed, 11 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index d7ff60cc16..73cc838bb1 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,11 @@
2001-04-16 Jeffrey Stedfast <fejj@ximian.com>
+ * camel-operation.c: Added a prototype for stamp().
+
+ * camel-charset-map.c (camel_charset_locale_name): #include
+ string.h so we don't get a warning about strchr being undefined
+ and also init charset to NULL.
+
* camel-pgp-context.c (pgp_verify): Go back to doing the utf8
conversion by hand so that we don't depend on gal.
diff --git a/camel/Makefile.am b/camel/Makefile.am
index fd2126ea43..8427492095 100644
--- a/camel/Makefile.am
+++ b/camel/Makefile.am
@@ -14,6 +14,7 @@ INCLUDES = -I.. -I$(srcdir)/.. \
$(GLIB_CFLAGS) \
$(GNOME_XML_CFLAGS) \
$(UNICODE_CFLAGS) \
+ $(EXTRA_GNOME_CFLAGS) \
$(KRB4_CFLAGS) \
$(NSPR_CFLAGS) \
$(NSS_CFLAGS) \
diff --git a/camel/camel-charset-map.c b/camel/camel-charset-map.c
index d5d7665dac..dac774bdf2 100644
--- a/camel/camel-charset-map.c
+++ b/camel/camel-charset-map.c
@@ -203,6 +203,7 @@ void main(void)
#include "camel-charset-map-private.h"
#include <unicode.h>
#include <locale.h>
+#include <string.h>
#include <glib.h>
void camel_charset_init(CamelCharset *c)
@@ -286,7 +287,7 @@ camel_charset_best(const char *in, int len)
char *
camel_charset_locale_name (void)
{
- char *locale, *charset;
+ char *locale, *charset = NULL;
locale = setlocale (LC_ALL, NULL);
diff --git a/camel/camel-operation.c b/camel/camel-operation.c
index 4433fa5d1a..0b5678d29a 100644
--- a/camel/camel-operation.c
+++ b/camel/camel-operation.c
@@ -62,6 +62,8 @@ static pthread_mutex_t operation_active_lock = PTHREAD_MUTEX_INITIALIZER;
#define CAMEL_ACTIVE_UNLOCK()
#endif
+static unsigned int stamp (void);
+
static GHashTable *operation_active;
typedef struct _CamelOperationMsg {