From 39758c8503fb5390afaceeff3dd5b0bca75feb97 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Mon, 14 Jun 2004 18:32:31 +0000 Subject: Major cleanup of the mpd client code (mpc->mpdclient) git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/screen_clock.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/screen_clock.c') diff --git a/src/screen_clock.c b/src/screen_clock.c index 3fe2ec1c9..d3d492559 100644 --- a/src/screen_clock.c +++ b/src/screen_clock.c @@ -1,4 +1,6 @@ /* + * $Id$ + * * This file is based on the 'Grand digital clock' (gdc.c) shipped with * ncurses. */ @@ -13,9 +15,8 @@ #ifdef ENABLE_CLOCK_SCREEN #include "ncmpc.h" -#include "libmpdclient.h" +#include "mpdclient.h" #include "options.h" -#include "mpc.h" #include "command.h" #include "screen.h" #include "screen_utils.h" @@ -133,7 +134,7 @@ clock_exit(void) } static void -clock_open(screen_t *screen, mpd_client_t *c) +clock_open(screen_t *screen, mpdclient_t *c) { int j; @@ -154,7 +155,7 @@ clock_title(char *str, size_t size) } static void -clock_update(screen_t *screen, mpd_client_t *c) +clock_update(screen_t *screen, mpdclient_t *c) { time_t now; struct tm *tm; @@ -228,7 +229,7 @@ clock_update(screen_t *screen, mpd_client_t *c) } static void -clock_paint(screen_t *screen, mpd_client_t *c) +clock_paint(screen_t *screen, mpdclient_t *c) { /* this seems to be a better way to clear the window than wclear() ?! */ wmove(win.w, 0, 0); @@ -239,7 +240,7 @@ clock_paint(screen_t *screen, mpd_client_t *c) static int -clock_cmd(screen_t *screen, mpd_client_t *c, command_t cmd) +clock_cmd(screen_t *screen, mpdclient_t *c, command_t cmd) { return 0; } -- cgit v1.2.3