aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-03-06 23:32:24 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-03-06 23:32:24 +0800
commitb327312920e6cafbb7c925185720feae3a05f80f (patch)
tree4a0ff0bd9dc8b4f678258691800c527ddaeef805 /mail
parentf1e001698a5db0b0ea3136c973769e0f6019d9ea (diff)
downloadgsoc2013-evolution-b327312920e6cafbb7c925185720feae3a05f80f.tar.gz
gsoc2013-evolution-b327312920e6cafbb7c925185720feae3a05f80f.tar.zst
gsoc2013-evolution-b327312920e6cafbb7c925185720feae3a05f80f.zip
Don't use __inline__ as not all platforms/compilers support this keyword.
2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * e-searching-tokenizer.c (camel_utf8_getc): Don't use __inline__ as not all platforms/compilers support this keyword. (g): Same. svn path=/trunk/; revision=20193
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/e-searching-tokenizer.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 4447659923..468e57ba12 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2003-03-06 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-searching-tokenizer.c (camel_utf8_getc): Don't use __inline__
+ as not all platforms/compilers support this keyword.
+ (g): Same.
+
2003-03-06 Not Zed <NotZed@Ximian.com>
* component-factory.c (owner_unset_cb): remove debug printf.
diff --git a/mail/e-searching-tokenizer.c b/mail/e-searching-tokenizer.c
index fdbd99c485..01e055ff84 100644
--- a/mail/e-searching-tokenizer.c
+++ b/mail/e-searching-tokenizer.c
@@ -118,7 +118,7 @@ shared_state_unref (SharedState *shared)
/* Utility functions */
/* This is faster and safer than glib2's utf8 abomination, but isn't exported from camel as yet */
-static __inline__ guint32
+static inline guint32
camel_utf8_getc(const unsigned char **ptr)
{
register unsigned char *p = (unsigned char *)*ptr;
@@ -248,7 +248,7 @@ dump_trie(struct _state *s, int d)
http://www-sr.informatik.uni-tuebingen.de/~buehler/AC/AC.html
for a neat demo */
-static __inline__ struct _match *
+static inline struct _match *
g(struct _state *q, guint32 c)
{
struct _match *m = q->matches;