diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-26 17:49:02 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-26 17:49:02 +0800 |
commit | 295af0a08ffeaf636490c457cf72e9a4d2055a83 (patch) | |
tree | 11840fe5bcc31c43e76fd5f3bb8b9e6750ec026c /libical | |
parent | f1132eb0185ac4e2ff850d48134d70e38749b214 (diff) | |
download | gsoc2013-evolution-295af0a08ffeaf636490c457cf72e9a4d2055a83.tar.gz gsoc2013-evolution-295af0a08ffeaf636490c457cf72e9a4d2055a83.tar.zst gsoc2013-evolution-295af0a08ffeaf636490c457cf72e9a4d2055a83.zip |
Got rid of some warnings.
2000-08-25 Christopher James Lahey <clahey@helixcode.com>
* 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
Diffstat (limited to 'libical')
-rw-r--r-- | libical/ChangeLog | 7 | ||||
-rw-r--r-- | libical/examples/access_properties_and_parameters.c | 1 | ||||
-rw-r--r-- | libical/src/libicalvcal/vcc.c | 4 | ||||
-rw-r--r-- | libical/src/libicalvcal/vcc.y | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/libical/ChangeLog b/libical/ChangeLog index ea99907917..937004b94f 100644 --- a/libical/ChangeLog +++ b/libical/ChangeLog @@ -1,5 +1,12 @@ 2000-08-25 Christopher James Lahey <clahey@helixcode.com> + * 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 <clahey@helixcode.com> + * src/libical/icalcomponent.c: Fixed an incorrect struct name. 2000-08-25 Peter Williams <peterw@helixcode.com> 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 <string.h> /* 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(); |