summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-02-08 12:01:43 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2013-03-14 11:10:08 +0100
commit5157ea84e75c25eb36d7b4531474f8786ac69c6b (patch)
treef0e17ab9c1fed00cb67c4e5ac303382cb04ce0f0
parentd8a79053c72136d75b6137f72cd528cd838a5410 (diff)
Rename controller.cpp to controller-unix.cpp
It mostly contain low-level controller/plugin communication code, and this is mainly non-portable code, let's rename this file to make this explicit. We will then add a controller.cpp file containing the generic code, and a controller-win.cpp file with the Windows specific code.
-rw-r--r--SpiceXPI/src/plugin/Makefile.am2
-rw-r--r--SpiceXPI/src/plugin/controller-unix.cpp (renamed from SpiceXPI/src/plugin/controller.cpp)2
2 files changed, 1 insertions, 3 deletions
diff --git a/SpiceXPI/src/plugin/Makefile.am b/SpiceXPI/src/plugin/Makefile.am
index d5434e5..2f12e70 100644
--- a/SpiceXPI/src/plugin/Makefile.am
+++ b/SpiceXPI/src/plugin/Makefile.am
@@ -26,8 +26,8 @@ libnsISpicec_la_SOURCES = \
$(top_srcdir)/common/rederrorcodes.h \
glib-compat.c \
glib-compat.h \
- controller.cpp \
controller.h \
+ controller-unix.cpp \
npapi/npapi.h \
npapi/npfunctions.h \
npapi/npruntime.h \
diff --git a/SpiceXPI/src/plugin/controller.cpp b/SpiceXPI/src/plugin/controller-unix.cpp
index 99e58b3..b912c27 100644
--- a/SpiceXPI/src/plugin/controller.cpp
+++ b/SpiceXPI/src/plugin/controller-unix.cpp
@@ -40,8 +40,6 @@
*
* ***** END LICENSE BLOCK ***** */
-#include "config.h"
-
#include <cstdio>
#include <cstdlib>
#include <cstring>