aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libical/ChangeLog7
-rw-r--r--libical/examples/access_properties_and_parameters.c1
-rw-r--r--libical/src/libicalvcal/vcc.c4
-rw-r--r--libical/src/libicalvcal/vcc.y4
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();