diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-14 09:12:21 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-14 09:12:21 +0800 |
commit | 90b308e8122c1c5c5981d09bfc47777c8b1216d6 (patch) | |
tree | 0317d5cf3a5bad8c8cc883cd632778a033fecad5 | |
parent | a7a7bebcecbcd22da76920cd0e46c455ec8b5bc9 (diff) |
Remove rt prefix from headers other than rtclient.h
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | rtclient/rtclient.h | 4 | ||||
-rw-r--r-- | rtclient/rtticket.h | 9 | ||||
-rw-r--r-- | rtclient/ticket.h | 9 | ||||
-rw-r--r-- | rtclient/user.h (renamed from rtclient/rtuser.h) | 6 |
5 files changed, 16 insertions, 16 deletions
diff --git a/Makefile.am b/Makefile.am index 3a90116..297113a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ noinst_LIBRARIES = librtclient.a librtclient_a_SOURCES = \ - rtclient/rtuser.h \ - rtclient/rtticket.h \ + rtclient/user.h \ + rtclient/ticket.h \ rtclient/rtclient.h \ rtclient.c diff --git a/rtclient/rtclient.h b/rtclient/rtclient.h index a872f37..d9a3639 100644 --- a/rtclient/rtclient.h +++ b/rtclient/rtclient.h @@ -1,8 +1,8 @@ #ifndef RTCLIENT_H #define RTCLIENT_H -#include "rtuser.h" -#include "rtticket.h" +#include "user.h" +#include "ticket.h" #ifdef __cplusplus extern "C" { diff --git a/rtclient/rtticket.h b/rtclient/rtticket.h deleted file mode 100644 index 3d78ac1..0000000 --- a/rtclient/rtticket.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef RTTICKET_H -#define RTTICKET_H - -struct rt_ticketlist { - unsigned int length; - char *tickets[]; -}; - -#endif // RTTICKET_H diff --git a/rtclient/ticket.h b/rtclient/ticket.h new file mode 100644 index 0000000..5c9c4da --- /dev/null +++ b/rtclient/ticket.h @@ -0,0 +1,9 @@ +#ifndef RTCLIENT_TICKET_H +#define RTCLIENT_TICKET_H + +struct rt_ticketlist { + unsigned int length; + char *tickets[]; +}; + +#endif // RTCLIENT_TICKET_H diff --git a/rtclient/rtuser.h b/rtclient/user.h index 9fccea8..f48162e 100644 --- a/rtclient/rtuser.h +++ b/rtclient/user.h @@ -1,5 +1,5 @@ -#ifndef RTUSER_H -#define RTUSER_H +#ifndef RTCLIENT_USER_H +#define RTCLIENT_USER_H #include <stdbool.h> @@ -30,4 +30,4 @@ struct rt_user { bool disabled; }; -#endif // RTUSER_H +#endif // RTCLIENT_USER_H |