]> git.zerfleddert.de Git - micropolis/blobdiff - src/tclx/src/tclxgdat.y
src/tclx/src/tclxgdat.y: Micropolis build fixes for recent macOS
[micropolis] / src / tclx / src / tclxgdat.y
index e29d7ead98a87d8a48e49c2edbed0248e937eef9..aea9f3d49ced8818421c6aca538df0f1a08b17b3 100644 (file)
@@ -58,6 +58,9 @@
 #define DAYLIGHT 1
 #define STANDARD 2
 #define MAYBE    3
+
+int yylex(void);
+void yyerror(const char *);
 %}
 
 %%
@@ -229,6 +232,7 @@ time_t daylcorr(future, now) time_t future, now;
 static char *lptr;
 
 //static
+int
 yylex()
 {
 #ifndef YYSTYPE
@@ -582,6 +586,6 @@ Tcl_GetDate (p, now, zone)
 
 void
 yyerror(msg)
-    char *msg;
+    const char *msg;
 {
 }
Impressum, Datenschutz