From 295af0a08ffeaf636490c457cf72e9a4d2055a83 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 26 Aug 2000 09:49:02 +0000 Subject: Got rid of some warnings. 2000-08-25 Christopher James Lahey * examples/access_properties_and_parameters.c, src/libicalvcal/vcc.y: Got rid of some warnings. * src/libicalvcal/vcc.c: Checking in generated C file. svn path=/trunk/; revision=5059 --- libical/ChangeLog | 7 +++++++ libical/examples/access_properties_and_parameters.c | 1 + libical/src/libicalvcal/vcc.c | 4 ++-- libical/src/libicalvcal/vcc.y | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) (limited to 'libical') diff --git a/libical/ChangeLog b/libical/ChangeLog index ea99907917..937004b94f 100644 --- a/libical/ChangeLog +++ b/libical/ChangeLog @@ -1,3 +1,10 @@ +2000-08-25 Christopher James Lahey + + * examples/access_properties_and_parameters.c, + src/libicalvcal/vcc.y: Got rid of some warnings. + + * src/libicalvcal/vcc.c: Checking in generated C file. + 2000-08-25 Christopher James Lahey * src/libical/icalcomponent.c: Fixed an incorrect struct name. diff --git a/libical/examples/access_properties_and_parameters.c b/libical/examples/access_properties_and_parameters.c index e19656f57f..176b49a109 100644 --- a/libical/examples/access_properties_and_parameters.c +++ b/libical/examples/access_properties_and_parameters.c @@ -1,6 +1,7 @@ /* access_properties_and_parameters.c */ #include "ical.h" +#include /* Get a particular parameter out of a component. This routine will return a list of strings of all attendees who are required. Note diff --git a/libical/src/libicalvcal/vcc.c b/libical/src/libicalvcal/vcc.c index ea916781df..b6de83cda4 100644 --- a/libical/src/libicalvcal/vcc.c +++ b/libical/src/libicalvcal/vcc.c @@ -165,7 +165,7 @@ extern "C" { #endif extern void Parse_Debug(const char *s); - extern void yyerror(char *s); + static void yyerror(char *s); #if __CPLUSPLUS__ }; @@ -1920,7 +1920,7 @@ EndString: return lexStr(); } /* LexQuotedPrintable */ -static int yylex() { +int yylex() { int token = 0; int lexmode = LEXMODE(); diff --git a/libical/src/libicalvcal/vcc.y b/libical/src/libicalvcal/vcc.y index fa314efeb5..1c800990c4 100644 --- a/libical/src/libicalvcal/vcc.y +++ b/libical/src/libicalvcal/vcc.y @@ -139,7 +139,7 @@ extern "C" { #endif extern void Parse_Debug(const char *s); - extern void yyerror(char *s); + static void yyerror(char *s); #if __CPLUSPLUS__ }; @@ -997,7 +997,7 @@ EndString: return lexStr(); } /* LexQuotedPrintable */ -static int yylex() { +int yylex() { int token = 0; int lexmode = LEXMODE(); -- cgit v1.2.3