From f1e001698a5db0b0ea3136c973769e0f6019d9ea Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 6 Mar 2003 15:22:56 +0000 Subject: Same as below. 2003-03-06 Jeffrey Stedfast * camel-text-index.c (camel_utf8_next): Same as below. * camel-search-private.c (camel_utf8_getc): Updated since not all platforms/compiles support __inline__. svn path=/trunk/; revision=20192 --- camel/ChangeLog | 7 +++++++ camel/camel-search-private.c | 2 +- camel/camel-text-index.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 9c3ceb09a0..ac301dfa6f 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,10 @@ +2003-03-06 Jeffrey Stedfast + + * camel-text-index.c (camel_utf8_next): Same as below. + + * camel-search-private.c (camel_utf8_getc): Updated since not all + platforms/compiles support __inline__. + 2003-03-06 Jeffrey Stedfast * camel-mime-part.c (camel_mime_part_get_encoding): Get rid of the diff --git a/camel/camel-search-private.c b/camel/camel-search-private.c index 8b0879f7ed..7cadbd525a 100644 --- a/camel/camel-search-private.c +++ b/camel/camel-search-private.c @@ -495,7 +495,7 @@ camel_search_message_body_contains (CamelDataWrapper *object, regex_t *pattern) return truth; } -static __inline__ guint32 +static inline guint32 camel_utf8_getc(const unsigned char **ptr) { register unsigned char *p = (unsigned char *)*ptr; diff --git a/camel/camel-text-index.c b/camel/camel-text-index.c index 60dc5b7402..710723168b 100644 --- a/camel/camel-text-index.c +++ b/camel/camel-text-index.c @@ -1384,7 +1384,7 @@ text_index_name_add_word(CamelIndexName *idn, const char *word) Because it doesn't hang/loop forever on bad data Used to clean up utf8 before it gets further */ -static __inline__ guint32 +static inline guint32 camel_utf8_next(const unsigned char **ptr, const unsigned char *ptrend) { register unsigned char *p = (unsigned char *)*ptr; -- cgit v1.2.3