diff src/util.h @ 7162:d14e026611c0

[gaim-migrate @ 7729] constificating the countryside committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 05 Oct 2003 18:32:43 +0000
parents 67f9b43c402a
children 1930e3d00ecd
line wrap: on
line diff
--- a/src/util.h	Sun Oct 05 17:51:09 2003 +0000
+++ b/src/util.h	Sun Oct 05 18:32:43 2003 +0000
@@ -112,7 +112,7 @@
  *
  * @see gaim_date_full()
  */
-char *gaim_date(void);
+const char *gaim_date(void);
 
 /**
  * Returns the date and time in human-readable form.
@@ -124,7 +124,7 @@
  *
  * @see gaim_date()
  */
-char *gaim_date_full(void);
+const char *gaim_date_full(void);
 
 /**
  * Builds a time_t from the supplied information.
@@ -306,7 +306,7 @@
  *
  * @return A pointer to the normalized version stored in a static buffer.
  */
-char *gaim_normalize(const char *str);
+const char *gaim_normalize(const char *str);
 
 /**
  * Looks for %n, %d, or %t in a string, and replaces them with the
@@ -320,7 +320,7 @@
  *
  * @return A new string where the special variables are expanded.
  */
-char *gaim_str_sub_away_formatters(const char *str, const char *name);
+const char *gaim_str_sub_away_formatters(const char *str, const char *name);
 
 /**
  * Copies a string and replaces all HTML linebreaks with newline characters.
@@ -462,8 +462,8 @@
  * @param str The string to translate.
  *
  * @return The resulting string.
- */	
-char *gaim_url_decode(const char *str);
+ */
+const char *gaim_url_decode(const char *str);
 
 /**
  * Encodes a URL into an escaped string.
@@ -474,7 +474,7 @@
  *
  * @return The resulting string.
  */
-char *gaim_url_encode(const char *str);
+const char *gaim_url_encode(const char *str);
 
 /*@}*/