From deb29e08844c33f60357d6c54f7255514925c748 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 28 Aug 2008 20:02:43 +0200 Subject: [PATCH] renamed interface.c to client.c I don't believe "interface" is a good name for something like "connection by a client to MPD", let's call it "client". This is the first patch in the series which changes the name, beginning with the file name. --- src/Makefile.am | 4 ++-- src/{interface.c => client.c} | 2 +- src/{interface.h => client.h} | 0 src/directory.c | 2 +- src/listen.c | 2 +- src/main.c | 2 +- src/myfprintf.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) rename src/{interface.c => client.c} (99%) rename src/{interface.h => client.h} (100%) diff --git a/src/Makefile.am b/src/Makefile.am index f4af3a5e3..f88485caa 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -53,7 +53,7 @@ mpd_headers = \ inputStream_file.h \ inputStream_http.h \ inputStream_http_auth.h \ - interface.h \ + client.h \ list.h \ dlist.h \ listen.h \ @@ -116,7 +116,7 @@ mpd_SOURCES = \ inputStream.c \ inputStream_file.c \ inputStream_http.c \ - interface.c \ + client.c \ ioops.c \ list.c \ listen.c \ diff --git a/src/interface.c b/src/client.c similarity index 99% rename from src/interface.c rename to src/client.c index ade2e36fc..91c055699 100644 --- a/src/interface.c +++ b/src/client.c @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "interface.h" +#include "client.h" #include "command.h" #include "conf.h" #include "log.h" diff --git a/src/interface.h b/src/client.h similarity index 100% rename from src/interface.h rename to src/client.h diff --git a/src/directory.c b/src/directory.c index 94a55d664..6f3409356 100644 --- a/src/directory.c +++ b/src/directory.c @@ -20,7 +20,7 @@ #include "command.h" #include "conf.h" -#include "interface.h" +#include "client.h" #include "listen.h" #include "log.h" #include "ls.h" diff --git a/src/listen.c b/src/listen.c index 2b9b38619..4adebb66a 100644 --- a/src/listen.c +++ b/src/listen.c @@ -17,7 +17,7 @@ */ #include "listen.h" -#include "interface.h" +#include "client.h" #include "conf.h" #include "log.h" #include "utils.h" diff --git a/src/main.c b/src/main.c index 315e272bc..0c46a9db7 100644 --- a/src/main.c +++ b/src/main.c @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "interface.h" +#include "client.h" #include "command.h" #include "playlist.h" #include "directory.h" diff --git a/src/myfprintf.c b/src/myfprintf.c index 0732caf02..87745671b 100644 --- a/src/myfprintf.c +++ b/src/myfprintf.c @@ -17,7 +17,7 @@ */ #include "myfprintf.h" -#include "interface.h" +#include "client.h" #include "path.h" #include "utils.h" #include "os_compat.h"