summaryrefslogtreecommitdiff
path: root/libpiano/src
diff options
context:
space:
mode:
Diffstat (limited to 'libpiano/src')
-rw-r--r--libpiano/src/CMakeLists.txt2
-rw-r--r--libpiano/src/crypt.c2
-rw-r--r--libpiano/src/http.c2
-rw-r--r--libpiano/src/piano.c (renamed from libpiano/src/main.c)2
-rw-r--r--libpiano/src/piano_private.h (renamed from libpiano/src/main.h)0
-rw-r--r--libpiano/src/xml.c2
6 files changed, 5 insertions, 5 deletions
diff --git a/libpiano/src/CMakeLists.txt b/libpiano/src/CMakeLists.txt
index 1344be2..8d1b77e 100644
--- a/libpiano/src/CMakeLists.txt
+++ b/libpiano/src/CMakeLists.txt
@@ -7,6 +7,6 @@ include_directories (${CMAKE_CURRENT_SOURCE_DIR}/../../libwaitress/src
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../../libezxml/src)
-add_library (piano STATIC crypt.c http.c main.c xml.c)
+add_library (piano STATIC crypt.c http.c piano.c xml.c)
target_link_libraries (piano waitress ezxml)
diff --git a/libpiano/src/crypt.c b/libpiano/src/crypt.c
index 9b21516..9691aeb 100644
--- a/libpiano/src/crypt.c
+++ b/libpiano/src/crypt.c
@@ -28,7 +28,7 @@ THE SOFTWARE.
#include "crypt_key_output.h"
#include "crypt_key_input.h"
-#include "main.h"
+#include "piano_private.h"
#define byteswap32(x) ((((x) >> 24) & 0x000000ff) | \
(((x) >> 8) & 0x0000ff00) | \
diff --git a/libpiano/src/http.c b/libpiano/src/http.c
index 4af5ccc..10de2a5 100644
--- a/libpiano/src/http.c
+++ b/libpiano/src/http.c
@@ -27,7 +27,7 @@ THE SOFTWARE.
#include <waitress.h>
-#include "main.h"
+#include "piano_private.h"
#include "crypt.h"
#include "http.h"
diff --git a/libpiano/src/main.c b/libpiano/src/piano.c
index 2bf8426..43c675a 100644
--- a/libpiano/src/main.c
+++ b/libpiano/src/piano.c
@@ -28,7 +28,7 @@ THE SOFTWARE.
#include <stdlib.h>
#include <time.h>
-#include "main.h"
+#include "piano_private.h"
#include "piano.h"
#include "http.h"
#include "xml.h"
diff --git a/libpiano/src/main.h b/libpiano/src/piano_private.h
index 6c8401e..6c8401e 100644
--- a/libpiano/src/main.h
+++ b/libpiano/src/piano_private.h
diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c
index ad0cf7d..35a8606 100644
--- a/libpiano/src/xml.c
+++ b/libpiano/src/xml.c
@@ -31,7 +31,7 @@ THE SOFTWARE.
#include "piano.h"
#include "crypt.h"
#include "config.h"
-#include "main.h"
+#include "piano_private.h"
static void PianoXmlStructParser (const ezxml_t,
void (*callback) (const char *, const ezxml_t, void *), void *);