summaryrefslogtreecommitdiffstats
path: root/collection/collection_tools.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-04-06 21:00:59 -0400
committerSimo Sorce <ssorce@redhat.com>2009-04-07 14:26:24 -0400
commitcfde3e8b06ff4939ebf2f8c03c0cbc17f1efd725 (patch)
tree33b62ce6a285d316fd923f38654bd67f879c0743 /collection/collection_tools.h
parenta84aa16112043031d7157704323cb8a6c2dc0764 (diff)
downloadding-libs-cfde3e8b06ff4939ebf2f8c03c0cbc17f1efd725.tar.gz
ding-libs-cfde3e8b06ff4939ebf2f8c03c0cbc17f1efd725.tar.xz
ding-libs-cfde3e8b06ff4939ebf2f8c03c0cbc17f1efd725.zip
Fix const warnings
Diffstat (limited to 'collection/collection_tools.h')
-rw-r--r--collection/collection_tools.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/collection/collection_tools.h b/collection/collection_tools.h
index d2ae238..defc4aa 100644
--- a/collection/collection_tools.h
+++ b/collection/collection_tools.h
@@ -62,10 +62,10 @@ int get_data_len(int type, int length);
int grow_buffer(struct serial_data *buf_data, int len);
/* Specail function to add different formatting symbols to the output */
-int put_marker(struct serial_data *buf_data, void *data, int len);
+int put_marker(struct serial_data *buf_data, const void *data, int len);
/* Serialization of data user handler */
-int serialize(char *property_in,
+int serialize(const char *property_in,
int property_len_in,
int type,
void *data_in,
@@ -74,7 +74,7 @@ int serialize(char *property_in,
int *dummy);
/* Debug handle */
-int debug_handle(char *property,
+int debug_handle(const char *property,
int property_len,
int type,
void *data,