aboutsummaryrefslogtreecommitdiff
path: root/vcal.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-21 15:22:47 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-21 15:23:26 +0100
commitcdc5e2cec5de1eb29ea3a42148c0b1302e97877f (patch)
tree0dd8d9fbfd7fb168be5778db93ffc4b6a29f1cc5 /vcal.h
parentMade to compile as C++. (diff)
downloadcalp-cdc5e2cec5de1eb29ea3a42148c0b1302e97877f.tar.gz
calp-cdc5e2cec5de1eb29ea3a42148c0b1302e97877f.tar.xz
Fix c++ compile warnings.
Diffstat (limited to 'vcal.h')
-rw-r--r--vcal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcal.h b/vcal.h
index 1c96c4c6..95811a7b 100644
--- a/vcal.h
+++ b/vcal.h
@@ -96,11 +96,11 @@ struct s_vcomponent {
#define FCHILD(v) GET(VECT(vcomponent))(&(v)->components, 0)
INIT_F(vcomponent);
-INIT_F(vcomponent, char* type);
-INIT_F(vcomponent, char* type, char* filename);
+INIT_F(vcomponent, const char* type);
+INIT_F(vcomponent, const char* type, const char* filename);
FREE_F(vcomponent);
-content_line* get_property (vcomponent* ev, char* key);
+content_line* get_property (vcomponent* ev, const char* key);
int add_content_line (vcomponent* ev, content_line* c);