diff --git a/src/screen_clock.c b/src/screen_clock.c
index d55328189417c5c6dcb470f3da32a5439fdf1122..995be67926fcdcf40cc867f107259723a850b875 100644 (file)
--- a/src/screen_clock.c
+++ b/src/screen_clock.c
* ncurses.
*/
-#include <time.h>
-#include <stdlib.h>
-#include <string.h>
-#include <glib.h>
-#include <ncurses.h>
-
#include "config.h"
#ifndef DISABLE_CLOCK_SCREEN
#include "command.h"
#include "screen.h"
#include "screen_utils.h"
+#include "gcc.h"
+
+#include <time.h>
+#include <stdlib.h>
+#include <string.h>
+#include <glib.h>
+#include <ncurses.h>
+
#define YDEPTH 5
#define BUFSIZE 64
}
static void
-clock_open(screen_t *screen, mpdclient_t *c)
+clock_open(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c)
{
int j;
{
}
-static char *
-clock_title(char *str, size_t size)
+static const char *
+clock_title(mpd_unused char *str, mpd_unused size_t size)
{
return _("Clock");
}
static void
-clock_update(screen_t *screen, mpdclient_t *c)
+clock_update(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c)
{
time_t now;
struct tm *tm;
}
static int
-clock_cmd(screen_t *screen, mpdclient_t *c, command_t cmd)
+clock_cmd(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c,
+ mpd_unused command_t cmd)
{
return 0;
}