summaryrefslogtreecommitdiff
path: root/src/cr-attr-sel.c
diff options
context:
space:
mode:
authorPeter J. R. Moulder <pjmoulder@src.gnome.org>2008-03-30 05:43:43 +0000
committerPeter J. R. Moulder <pjmoulder@src.gnome.org>2008-03-30 05:43:43 +0000
commit8b60be7f9ac274c014294c51f88da884a3b0c99f (patch)
tree654b4d6a08a93e2bc0e957a010f87e8e597b5841 /src/cr-attr-sel.c
parent71b9dffeed9300e3c1c6168a6023a6ee9a086889 (diff)
downloadlibcroco-8b60be7f9ac274c014294c51f88da884a3b0c99f.tar.gz
Add ‘const’ to various function prototypes, as discussed at http://www.mail-archive.com/libcroco-list@gnome.org/msg00049.html . This change is a noop in the sense that it has no effect on libcroco's object files, but does affect source-level compatibility, both forwards and backwards — though in practice I'd guess that no existing code will break from this.
svn path=/trunk/; revision=315
Diffstat (limited to 'src/cr-attr-sel.c')
-rw-r--r--src/cr-attr-sel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cr-attr-sel.c b/src/cr-attr-sel.c
index 65ed7e6..787f0c0 100644
--- a/src/cr-attr-sel.c
+++ b/src/cr-attr-sel.c
@@ -105,9 +105,9 @@ cr_attr_sel_prepend_attr_sel (CRAttrSel * a_this,
* Returns the serialized attribute selector.
*/
guchar *
-cr_attr_sel_to_string (CRAttrSel * a_this)
+cr_attr_sel_to_string (CRAttrSel const * a_this)
{
- CRAttrSel *cur = NULL;
+ CRAttrSel const *cur = NULL;
guchar *result = NULL;
GString *str_buf = NULL;
@@ -184,7 +184,7 @@ cr_attr_sel_to_string (CRAttrSel * a_this)
* Dumps the current instance of #CRAttrSel to a file.
*/
void
-cr_attr_sel_dump (CRAttrSel * a_this, FILE * a_fp)
+cr_attr_sel_dump (CRAttrSel const * a_this, FILE * a_fp)
{
guchar *tmp_str = NULL;