]> diplodocus.org Git - nmh/blobdiff - sbr/icalendar.l
seq_setcur.c: Move interface to own file.
[nmh] / sbr / icalendar.l
index 8b0721bfe0a55416b6403e919fe30d386d15b6ca..0681f3adfc691bbae9a425d39795082ec4ead7c4 100644 (file)
@@ -10,7 +10,8 @@
 %{
 #include "h/mh.h"
 #include "h/icalendar.h"
-#include "sbr/icalparse.h"
+#include "icalparse.h"
+#include "base64.h"
 
 static char *unfold (char *, size_t *);
 static void destroy_icallex(void);
@@ -288,7 +289,8 @@ folded-value         {VALUE-CHAR}*({fold}{VALUE-CHAR}*)+
 %%
 
 static char *
-unfold (char *text, size_t *leng) {
+unfold (char *text, size_t *leng)
+{
     /* It's legal to shorten text and modify leng (because we don't
        use yymore()). */
     char *cp;
@@ -320,7 +322,8 @@ unfold (char *text, size_t *leng) {
  * with something other than flex.
  */
 static void
-destroy_icallex(void) {
+destroy_icallex(void)
+{
 #if defined FLEX_SCANNER  &&  defined YY_FLEX_SUBMINOR_VERSION
     /* Hack:  rely on fact that the the YY_FLEX_SUBMINOR_VERSION
        #define was added to flex (flex.skl v. 2.163) after
@@ -334,12 +337,14 @@ destroy_icallex(void) {
  * because flex 2.5.4 doesn't.
  */
 void
-icalset_inputfile (FILE *file) {
+icalset_inputfile (FILE *file)
+{
     yyin = file;
 }
 
 void
-icalset_outputfile (FILE *file) {
+icalset_outputfile (FILE *file)
+{
     yyout = file;
 }