Commit 723ef164 authored by Elliot Lee's avatar Elliot Lee

Add a few missing G_GNUC_CONST's.



Add a few missing G_GNUC_CONST's.
parent 8dd96cd0
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
2000-09-21 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in: Add gconvert.o. Use libiconv.
......
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
2000-09-21 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in: Add gconvert.o. Use libiconv.
......
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
2000-09-21 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in: Add gconvert.o. Use libiconv.
......
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
2000-09-21 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in: Add gconvert.o. Use libiconv.
......
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
2000-09-21 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in: Add gconvert.o. Use libiconv.
......
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
2000-09-21 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in: Add gconvert.o. Use libiconv.
......
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
2000-09-21 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in: Add gconvert.o. Use libiconv.
......
Mon Sep 25 2000 Elliot Lee <sopwith@redhat.com>
* garray.c, glib.h, gmem.c: Add a few missing G_GNUC_CONST's.
2000-09-21 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in: Add gconvert.o. Use libiconv.
......
......@@ -55,7 +55,7 @@ struct _GRealArray
g_array_elt_zero ((array), (array)->len, 1); \
}G_STMT_END
static gint g_nearest_pow (gint num);
static gint g_nearest_pow (gint num) G_GNUC_CONST;
static void g_array_maybe_expand (GRealArray *array,
gint len);
......
......@@ -1683,8 +1683,8 @@ gchar* g_strcanon (gchar *string,
gchar subsitutor);
gdouble g_strtod (const gchar *nptr,
gchar **endptr);
gchar* g_strerror (gint errnum);
gchar* g_strsignal (gint signum);
gchar* g_strerror (gint errnum) G_GNUC_CONST;
gchar* g_strsignal (gint signum) G_GNUC_CONST;
gint g_strcasecmp (const gchar *s1,
const gchar *s2);
gint g_strncasecmp (const gchar *s1,
......@@ -2509,14 +2509,14 @@ void g_date_free (GDate *date);
* return to validity).
*/
gboolean g_date_valid (GDate *date);
gboolean g_date_valid_day (GDateDay day);
gboolean g_date_valid_month (GDateMonth month);
gboolean g_date_valid_year (GDateYear year);
gboolean g_date_valid_weekday (GDateWeekday weekday);
gboolean g_date_valid_julian (guint32 julian_date);
gboolean g_date_valid_day (GDateDay day) G_GNUC_CONST;
gboolean g_date_valid_month (GDateMonth month) G_GNUC_CONST;
gboolean g_date_valid_year (GDateYear year) G_GNUC_CONST;
gboolean g_date_valid_weekday (GDateWeekday weekday) G_GNUC_CONST;
gboolean g_date_valid_julian (guint32 julian_date) G_GNUC_CONST;
gboolean g_date_valid_dmy (GDateDay day,
GDateMonth month,
GDateYear year);
GDateYear year) G_GNUC_CONST;
GDateWeekday g_date_weekday (GDate *date);
GDateMonth g_date_month (GDate *date);
......
......@@ -55,7 +55,7 @@ struct _GRealArray
g_array_elt_zero ((array), (array)->len, 1); \
}G_STMT_END
static gint g_nearest_pow (gint num);
static gint g_nearest_pow (gint num) G_GNUC_CONST;
static void g_array_maybe_expand (GRealArray *array,
gint len);
......
......@@ -1683,8 +1683,8 @@ gchar* g_strcanon (gchar *string,
gchar subsitutor);
gdouble g_strtod (const gchar *nptr,
gchar **endptr);
gchar* g_strerror (gint errnum);
gchar* g_strsignal (gint signum);
gchar* g_strerror (gint errnum) G_GNUC_CONST;
gchar* g_strsignal (gint signum) G_GNUC_CONST;
gint g_strcasecmp (const gchar *s1,
const gchar *s2);
gint g_strncasecmp (const gchar *s1,
......@@ -2509,14 +2509,14 @@ void g_date_free (GDate *date);
* return to validity).
*/
gboolean g_date_valid (GDate *date);
gboolean g_date_valid_day (GDateDay day);
gboolean g_date_valid_month (GDateMonth month);
gboolean g_date_valid_year (GDateYear year);
gboolean g_date_valid_weekday (GDateWeekday weekday);
gboolean g_date_valid_julian (guint32 julian_date);
gboolean g_date_valid_day (GDateDay day) G_GNUC_CONST;
gboolean g_date_valid_month (GDateMonth month) G_GNUC_CONST;
gboolean g_date_valid_year (GDateYear year) G_GNUC_CONST;
gboolean g_date_valid_weekday (GDateWeekday weekday) G_GNUC_CONST;
gboolean g_date_valid_julian (guint32 julian_date) G_GNUC_CONST;
gboolean g_date_valid_dmy (GDateDay day,
GDateMonth month,
GDateYear year);
GDateYear year) G_GNUC_CONST;
GDateWeekday g_date_weekday (GDate *date);
GDateMonth g_date_month (GDate *date);
......
......@@ -125,7 +125,7 @@ struct _GRealMemChunk
static gulong g_mem_chunk_compute_size (gulong size,
gulong min_size);
gulong min_size) G_GNUC_CONST;
static gint g_mem_chunk_area_compare (GMemArea *a,
GMemArea *b);
static gint g_mem_chunk_area_search (GMemArea *a,
......
......@@ -125,7 +125,7 @@ struct _GRealMemChunk
static gulong g_mem_chunk_compute_size (gulong size,
gulong min_size);
gulong min_size) G_GNUC_CONST;
static gint g_mem_chunk_area_compare (GMemArea *a,
GMemArea *b);
static gint g_mem_chunk_area_search (GMemArea *a,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment