diff libpurple/util.h @ 16495:b8b2e35ec7c6

Fix purple_util_get_image_extension()'s data param. to be correctly marked as constant.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 27 Apr 2007 03:45:56 +0000
parents 391a79778f89
children ba768014f91f fd6c3dc4641f
line wrap: on
line diff
--- a/libpurple/util.h	Fri Apr 27 03:28:41 2007 +0000
+++ b/libpurple/util.h	Fri Apr 27 03:45:56 2007 +0000
@@ -469,7 +469,7 @@
  * the first character of the entity. If given an unrecognized entity, the function
  * returns @c NULL.
  *
- * Note that this function, unlike purple_unescape_html(), does not search 
+ * Note that this function, unlike purple_unescape_html(), does not search
  * the string for the entity, does not replace the entity, and does not
  * return a newly allocated string.
  *
@@ -606,7 +606,7 @@
  * @return The appropriate extension, or "icon" if unknown.
  */
 const char *
-purple_util_get_image_extension(gpointer data, size_t len);
+purple_util_get_image_extension(gconstpointer data, size_t len);
 
 /*@}*/