From aadf333053490f62a5b51366746a89136719a251 Mon Sep 17 00:00:00 2001
From: Stanislaw Halik <sthalik@misaki.pl>
Date: Mon, 22 Sep 2014 15:22:44 +0200
Subject: style only

---
 x-plane-plugin/plugin.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'x-plane-plugin/plugin.c')

diff --git a/x-plane-plugin/plugin.c b/x-plane-plugin/plugin.c
index 62c9d6f0..b91151c1 100644
--- a/x-plane-plugin/plugin.c
+++ b/x-plane-plugin/plugin.c
@@ -52,6 +52,8 @@ static void reinit_offset() {
 #   define OT_UNUSED(varname) varname
 #endif
 
+#pragma GCC diagnostic ignored "-Wunused-result"
+
 PortableLockedShm* PortableLockedShm_init(const char *shmName, const char *OT_UNUSED(mutexName), int mapSize)
 {
     PortableLockedShm* self = malloc(sizeof(PortableLockedShm));
-- 
cgit v1.2.3


From 90acf0e706bb4c7b33b6e6b4da7258699231df84 Mon Sep 17 00:00:00 2001
From: Stanislaw Halik <sthalik@misaki.pl>
Date: Tue, 23 Sep 2014 20:32:39 +0200
Subject: no need for pragma here

Revert part of ae8f78bf5e9096b44e700b1b2e1e4edc03a0b93d
---
 x-plane-plugin/plugin.c | 2 --
 1 file changed, 2 deletions(-)

(limited to 'x-plane-plugin/plugin.c')

diff --git a/x-plane-plugin/plugin.c b/x-plane-plugin/plugin.c
index b91151c1..62c9d6f0 100644
--- a/x-plane-plugin/plugin.c
+++ b/x-plane-plugin/plugin.c
@@ -52,8 +52,6 @@ static void reinit_offset() {
 #   define OT_UNUSED(varname) varname
 #endif
 
-#pragma GCC diagnostic ignored "-Wunused-result"
-
 PortableLockedShm* PortableLockedShm_init(const char *shmName, const char *OT_UNUSED(mutexName), int mapSize)
 {
     PortableLockedShm* self = malloc(sizeof(PortableLockedShm));
-- 
cgit v1.2.3


From 459202a781fa997f6d8f841e9a55cd9325fd4cc9 Mon Sep 17 00:00:00 2001
From: Stanislaw Halik <sthalik@misaki.pl>
Date: Tue, 23 Sep 2014 23:13:34 +0200
Subject: unbreak hopefully

---
 x-plane-plugin/plugin.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'x-plane-plugin/plugin.c')

diff --git a/x-plane-plugin/plugin.c b/x-plane-plugin/plugin.c
index 62c9d6f0..3958c895 100644
--- a/x-plane-plugin/plugin.c
+++ b/x-plane-plugin/plugin.c
@@ -13,8 +13,6 @@
 #include <XPLMCamera.h>
 #include <XPLMProcessing.h>
 
-#include "ftnoir_tracker_base/ftnoir_tracker_types.h"
-
 #ifndef PLUGIN_API
 #define PLUGIN_API
 #endif
@@ -23,6 +21,10 @@
 #define WINE_SHM_NAME "facetracknoir-wine-shm"
 #define WINE_MTX_NAME "facetracknoir-wine-mtx"
 
+enum Axis {
+        TX = 0, TY, TZ, Yaw, Pitch, Roll
+};
+
 typedef struct PortableLockedShm {
     void* mem;
     int fd, size;
-- 
cgit v1.2.3