From 8b60be7f9ac274c014294c51f88da884a3b0c99f Mon Sep 17 00:00:00 2001 From: "Peter J. R. Moulder" Date: Sun, 30 Mar 2008 05:43:43 +0000 Subject: =?UTF-8?q?Add=20=E2=80=98const=E2=80=99=20to=20various=20function?= =?UTF-8?q?=20prototypes,=20as=20discussed=20at=20http://www.mail-archive.?= =?UTF-8?q?com/libcroco-list@gnome.org/msg00049.html=20.=20=20This=20chang?= =?UTF-8?q?e=20is=20a=20noop=20in=20the=20sense=20that=20it=20has=20no=20e?= =?UTF-8?q?ffect=20on=20libcroco's=20object=20files,=20but=20does=20affect?= =?UTF-8?q?=20source-level=20compatibility,=20both=20forwards=20and=20back?= =?UTF-8?q?wards=20=E2=80=94=20though=20in=20practice=20I'd=20guess=20that?= =?UTF-8?q?=20no=20existing=20code=20will=20break=20from=20this.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=315 --- src/cr-selector.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cr-selector.c') diff --git a/src/cr-selector.c b/src/cr-selector.c index 6fe1267..a3603e3 100644 --- a/src/cr-selector.c +++ b/src/cr-selector.c @@ -138,7 +138,7 @@ cr_selector_append_simple_sel (CRSelector * a_this, } guchar * -cr_selector_to_string (CRSelector * a_this) +cr_selector_to_string (CRSelector const * a_this) { guchar *result = NULL; GString *str_buf = NULL; @@ -147,7 +147,7 @@ cr_selector_to_string (CRSelector * a_this) g_return_val_if_fail (str_buf, NULL); if (a_this) { - CRSelector *cur = NULL; + CRSelector const *cur = NULL; for (cur = a_this; cur; cur = cur->next) { if (cur->simple_sel) { @@ -188,7 +188,7 @@ cr_selector_to_string (CRSelector * a_this) *Serializes the current instance of #CRSelector to a file. */ void -cr_selector_dump (CRSelector * a_this, FILE * a_fp) +cr_selector_dump (CRSelector const * a_this, FILE * a_fp) { guchar *tmp_buf = NULL; -- cgit v1.2.1