From b327312920e6cafbb7c925185720feae3a05f80f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 6 Mar 2003 15:32:24 +0000 Subject: Don't use __inline__ as not all platforms/compilers support this keyword. 2003-03-06 Jeffrey Stedfast * 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 --- mail/ChangeLog | 6 ++++++ mail/e-searching-tokenizer.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'mail') 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 + + * 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 * 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; -- cgit v1.2.3