diff src/util.c @ 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.c	Sun Oct 05 17:51:09 2003 +0000
+++ b/src/util.c	Sun Oct 05 18:32:43 2003 +0000
@@ -244,7 +244,7 @@
 /**************************************************************************
  * Date/Time Functions
  **************************************************************************/
-char *
+const char *
 gaim_date(void)
 {
 	static char date[80];
@@ -256,7 +256,7 @@
 	return date;
 }
 
-char *
+const char *
 gaim_date_full(void)
 {
 	char *date;
@@ -1249,7 +1249,7 @@
 /**************************************************************************
  * String Functions
  **************************************************************************/
-char *
+const char *
 gaim_normalize(const char *s)
 {
 	static char buf[BUF_LEN];
@@ -1278,7 +1278,7 @@
 
 /* Look for %n, %d, or %t in msg, and replace with the sender's name, date,
    or time */
-char *
+const char *
 gaim_str_sub_away_formatters(const char *msg, const char *name)
 {
 	char *c;
@@ -1918,7 +1918,7 @@
 	}
 }
 
-char *
+const char *
 gaim_url_decode(const char *str)
 {
 	static char buf[BUF_LEN];
@@ -1955,7 +1955,7 @@
 	return buf;
 }
 
-char *
+const char *
 gaim_url_encode(const char *str)
 {
 	static char buf[BUF_LEN];
@@ -2037,3 +2037,4 @@
 
 	return ret;
 }
+