Changed prototype of printf_string_upper_bound to return gsize. Now
authorMark Murnane <mmurnane@src.gnome.org>
Thu, 12 Jul 2001 09:23:38 +0000 (09:23 +0000)
committerMark Murnane <mmurnane@src.gnome.org>
Thu, 12 Jul 2001 09:23:38 +0000 (09:23 +0000)
* glib/gmessages.c: Changed prototype of printf_string_upper_bound
to return gsize.  Now matches the actual function body.

* glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2
from gint to gssize.  Now matches the prototype in gstrfuncs.h.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmessages.c
glib/gstrfuncs.c

index 38d3206..95c9774 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-07-12  Mark Murnane  <Mark.Murnane@sun.com>
+
+       * glib/gmessages.c: Changed prototype of printf_string_upper_bound
+       to return gsize.  Now matches the actual function body.
+
+       * glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2 
+       from gint to gssize.  Now matches the prototype in gstrfuncs.h.
+       
 2001-07-11  Darin Adler  <darin@bentspoon.com>
 
        * .cvsignore: Add some generated files.
index 38d3206..95c9774 100644 (file)
@@ -1,3 +1,11 @@
+2001-07-12  Mark Murnane  <Mark.Murnane@sun.com>
+
+       * glib/gmessages.c: Changed prototype of printf_string_upper_bound
+       to return gsize.  Now matches the actual function body.
+
+       * glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2 
+       from gint to gssize.  Now matches the prototype in gstrfuncs.h.
+       
 2001-07-11  Darin Adler  <darin@bentspoon.com>
 
        * .cvsignore: Add some generated files.
index 38d3206..95c9774 100644 (file)
@@ -1,3 +1,11 @@
+2001-07-12  Mark Murnane  <Mark.Murnane@sun.com>
+
+       * glib/gmessages.c: Changed prototype of printf_string_upper_bound
+       to return gsize.  Now matches the actual function body.
+
+       * glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2 
+       from gint to gssize.  Now matches the prototype in gstrfuncs.h.
+       
 2001-07-11  Darin Adler  <darin@bentspoon.com>
 
        * .cvsignore: Add some generated files.
index 38d3206..95c9774 100644 (file)
@@ -1,3 +1,11 @@
+2001-07-12  Mark Murnane  <Mark.Murnane@sun.com>
+
+       * glib/gmessages.c: Changed prototype of printf_string_upper_bound
+       to return gsize.  Now matches the actual function body.
+
+       * glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2 
+       from gint to gssize.  Now matches the prototype in gstrfuncs.h.
+       
 2001-07-11  Darin Adler  <darin@bentspoon.com>
 
        * .cvsignore: Add some generated files.
index 38d3206..95c9774 100644 (file)
@@ -1,3 +1,11 @@
+2001-07-12  Mark Murnane  <Mark.Murnane@sun.com>
+
+       * glib/gmessages.c: Changed prototype of printf_string_upper_bound
+       to return gsize.  Now matches the actual function body.
+
+       * glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2 
+       from gint to gssize.  Now matches the prototype in gstrfuncs.h.
+       
 2001-07-11  Darin Adler  <darin@bentspoon.com>
 
        * .cvsignore: Add some generated files.
index 38d3206..95c9774 100644 (file)
@@ -1,3 +1,11 @@
+2001-07-12  Mark Murnane  <Mark.Murnane@sun.com>
+
+       * glib/gmessages.c: Changed prototype of printf_string_upper_bound
+       to return gsize.  Now matches the actual function body.
+
+       * glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2 
+       from gint to gssize.  Now matches the prototype in gstrfuncs.h.
+       
 2001-07-11  Darin Adler  <darin@bentspoon.com>
 
        * .cvsignore: Add some generated files.
index 38d3206..95c9774 100644 (file)
@@ -1,3 +1,11 @@
+2001-07-12  Mark Murnane  <Mark.Murnane@sun.com>
+
+       * glib/gmessages.c: Changed prototype of printf_string_upper_bound
+       to return gsize.  Now matches the actual function body.
+
+       * glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2 
+       from gint to gssize.  Now matches the prototype in gstrfuncs.h.
+       
 2001-07-11  Darin Adler  <darin@bentspoon.com>
 
        * .cvsignore: Add some generated files.
index 38d3206..95c9774 100644 (file)
@@ -1,3 +1,11 @@
+2001-07-12  Mark Murnane  <Mark.Murnane@sun.com>
+
+       * glib/gmessages.c: Changed prototype of printf_string_upper_bound
+       to return gsize.  Now matches the actual function body.
+
+       * glib/gstrfuncs.c (g_strrstr_len): Changed type of parameter #2 
+       from gint to gssize.  Now matches the prototype in gstrfuncs.h.
+       
 2001-07-11  Darin Adler  <darin@bentspoon.com>
 
        * .cvsignore: Add some generated files.
index fe10e74..11d0c34 100644 (file)
@@ -71,7 +71,7 @@ struct _GLogHandler
 
 
 /* --- prototypes --- */
-static guint printf_string_upper_bound (const gchar *format,
+static gsize printf_string_upper_bound (const gchar *format,
                                        gboolean     may_warn,
                                        va_list      args);
 
index 0db804b..feb88c6 100644 (file)
@@ -1879,7 +1879,7 @@ g_strrstr (const gchar *haystack,
  **/
 gchar *
 g_strrstr_len (const gchar *haystack,
-              gint         haystack_len,
+              gssize        haystack_len,
               const gchar *needle)
 {
   g_return_val_if_fail (haystack != NULL, NULL);