summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-14 08:56:40 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-14 08:56:40 +0800
commita7a7bebcecbcd22da76920cd0e46c455ec8b5bc9 (patch)
tree3eadc67c8f4dcef7d5d6602be299e55e949bd833
parentf36fd455104fcaa083fd1ea2186e65ec0350f208 (diff)
Isolate headers to a directory
Prepare for header system installation
-rw-r--r--.gitignore2
-rw-r--r--Makefile.am5
-rw-r--r--rtclient.c2
-rw-r--r--rtclient/rtclient.h (renamed from rtclient.h)0
-rw-r--r--rtclient/rtticket.h (renamed from rtticket.h)0
-rw-r--r--rtclient/rtuser.h (renamed from rtuser.h)0
-rw-r--r--test.c2
7 files changed, 6 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 07fcd69..b8cc4af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,5 +18,5 @@ configure
depcomp
install-sh
missing
-rtclient
stamp-h1
+test
diff --git a/Makefile.am b/Makefile.am
index 37f2990..3a90116 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,6 @@
noinst_LIBRARIES = librtclient.a
librtclient_a_SOURCES = \
- rtuser.h \
- rtclient.h \
+ rtclient/rtuser.h \
+ rtclient/rtticket.h \
+ rtclient/rtclient.h \
rtclient.c
diff --git a/rtclient.c b/rtclient.c
index c623c84..d90ac42 100644
--- a/rtclient.c
+++ b/rtclient.c
@@ -8,7 +8,7 @@
#include <stdlib.h>
#include <string.h>
#include <curl/curl.h>
-#include "rtclient.h"
+#include "rtclient/rtclient.h"
typedef struct rt_user rt_user;
typedef struct rt_ticketlist rt_ticketlist;
diff --git a/rtclient.h b/rtclient/rtclient.h
index a872f37..a872f37 100644
--- a/rtclient.h
+++ b/rtclient/rtclient.h
diff --git a/rtticket.h b/rtclient/rtticket.h
index 3d78ac1..3d78ac1 100644
--- a/rtticket.h
+++ b/rtclient/rtticket.h
diff --git a/rtuser.h b/rtclient/rtuser.h
index 9fccea8..9fccea8 100644
--- a/rtuser.h
+++ b/rtclient/rtuser.h
diff --git a/test.c b/test.c
index 529da25..6dd385c 100644
--- a/test.c
+++ b/test.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "rtclient.h"
+#include "rtclient/rtclient.h"
int main(void)
{