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();
* - Fix buildmiwi2014-02-073-32/+60 * - Stage supportmiwi2014-02-021-7/+1 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-5/+2 * Convert to new options frameworkbapt2012-06-121-6/+6 * - Update devel/sdl12 to 1.2.15mva2012-02-181-1/+1 * The vast majority of pkg-descr files had the following format when theydougb2011-10-241-1/+0 * Remove more tags from pkg-descr files fo the form:dougb2011-10-241-3/+0 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+2 * = Drop MD5 supportmiwi2011-07-031-1/+0 * - Reassign ports to heaptabthorpe2011-02-271-1/+1 * - Avoid overriding post-patch target on some architectures.alepulver2010-10-111-12/+10 * - update to jpeg-8dinoex2010-02-051-2/+2 * - Mark MAKE_JOBS_UNSAFEpav2009-11-201-0/+1 * - Fix building with recent nasm.alepulver2009-09-231-0/+4 * - update to jpeg7dinoex2009-07-181-2/+2 * - Remove conditional checks for FreeBSD 5.x and olderpav2009-01-061-5/+0 * Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Chase devel/sdl12 shlib version bumpmiwi2008-03-131-1/+1 * - Fix building on non-i386 with GCC 4.2 (on i386 assembly code is used).alepulver2007-07-231-0/+20 * - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1 * - Fix building with GCC 4.x.alepulver2007-03-221-0/+11