[evolution-data-server] Remove camel_toupper().



commit 8227376afdd3258f1616993fbc742c36bcaf02e1
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Sep 16 09:39:41 2013 -0400

    Remove camel_toupper().
    
    Use g_ascii_toupper() instead.

 camel/camel-string-utils.c              |   16 ----------------
 camel/camel-string-utils.h              |    1 -
 docs/reference/camel/camel-sections.txt |    1 -
 3 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/camel/camel-string-utils.c b/camel/camel-string-utils.c
index be8de20..fe0b868 100644
--- a/camel/camel-string-utils.c
+++ b/camel/camel-string-utils.c
@@ -108,22 +108,6 @@ camel_strdown (gchar *str)
        return str;
 }
 
-/**
- * camel_toupper:
- * @c:
- *
- * ASCII to-upper function.
- *
- * Returns:
- **/
-gchar camel_toupper (gchar c)
-{
-       if (c >= 'a' && c <= 'z')
-               c &= ~0x20;
-
-       return c;
-}
-
 /* working stuff for pstrings */
 static GMutex string_pool_lock;
 static GHashTable *string_pool = NULL;
diff --git a/camel/camel-string-utils.h b/camel/camel-string-utils.h
index 1dd5531..bff616c 100644
--- a/camel/camel-string-utils.h
+++ b/camel/camel-string-utils.h
@@ -39,7 +39,6 @@ void camel_string_list_free (GList *string_list);
 gchar *camel_strstrcase (const gchar *haystack, const gchar *needle);
 
 const gchar *camel_strdown (gchar *str);
-gchar camel_toupper (gchar c);
 
 const gchar *camel_pstring_add (gchar *string, gboolean own);
 const gchar *camel_pstring_strdup (const gchar *string);
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index e7c0c7b..5644725 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -3387,7 +3387,6 @@ camel_strcase_hash
 camel_string_list_free
 camel_strstrcase
 camel_strdown
-camel_toupper
 camel_pstring_add
 camel_pstring_strdup
 camel_pstring_free


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]