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/src/libicalvcal/vcc.c | 4 ++-- libical/src/libicalvcal/vcc.y | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libical/src/libicalvcal') 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