/*
- * Copyright (C) 2007-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007 Andre Noll <maan@tuebingen.mpg.de>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/** \file mm.c Paraslash's mood methods. */
-#include <time.h>
#include <regex.h>
#include <fnmatch.h>
#include <osl.h>
enum mood_comparator_id {MOOD_COMPARATORS NUM_MOOD_COMPARATORS};
#undef MC
#define MC(a, b) # b,
-static const char const *mood_comparators[] = {MOOD_COMPARATORS};
+static const char *mood_comparators[] = {MOOD_COMPARATORS};
#undef MC
static int parse_mood_comparator(const char *word)
static int mm_year_parser(int argc, char **argv, void **private)
{
- int ret = -E_MOOD_SYNTAX;
+ int ret;
struct mm_year_data *mmyd = para_malloc(sizeof(*mmyd));
time_t current_time;
struct tm *gmt;