dtcm: Resolve CID 87822
[oweals/cde.git] / cde / programs / dtcm / server / repeat.c
index 0f93c441316baff4e0dbee2c9018263ebc2bf666..dcc6fec696c4714be4575bff753044c6eb2eaf4f 100644 (file)
@@ -32,6 +32,9 @@
 #include <stdio.h>
 #define XOS_USE_NO_LOCKING
 #define X_INCLUDE_TIME_H
+#if defined(linux)
+#undef SVR4
+#endif
 #include <X11/Xos_r.h>
 #include "csa.h"
 #include "rtable4.h"
@@ -73,7 +76,7 @@ static int monthsecs[12] = {
        31*daysec,      30*daysec,      31*daysec
 };
 
-extern int monthdays[12] = {
+int monthdays[12] = {
        31,     28,     31,
        30,     31,     30,
        31,     31,     30,