#include <ncurses.h>
#include "date.h"
-#include "event.h"
-#include "screen.h"
+#include "cal.h"
+#include "view.h"
/* Static data */
static FILE *debug_fd = NULL;
debug_fd = fopen("/tmp/lackey.log", "w+");
}
+/* String functions */
+void strsub(char *str, char find, char repl)
+{
+ for (char *cur = str; *cur; cur++)
+ if (*cur == find)
+ *cur = repl;
+}
+
/* Debugging functions */
int debug(char *fmt, ...)
{