aboutsummaryrefslogtreecommitdiff
path: root/include/libsurvive/survive.h
diff options
context:
space:
mode:
authorMike Turvey <mturvey6@gmail.com>2018-01-15 21:50:10 -0700
committerMike Turvey <mturvey6@gmail.com>2018-01-15 21:50:10 -0700
commit7817da63526f35d10d6d4f6b3d9c02280719e023 (patch)
treeca30ac55445f1355615464688ac2e012faea2e04 /include/libsurvive/survive.h
parent8be34f04a100defc9d1958aa4ce63ef02d19db69 (diff)
downloadlibsurvive-7817da63526f35d10d6d4f6b3d9c02280719e023.tar.gz
libsurvive-7817da63526f35d10d6d4f6b3d9c02280719e023.tar.bz2
Fix compiler warnings
Diffstat (limited to 'include/libsurvive/survive.h')
-rw-r--r--include/libsurvive/survive.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h
index 4821e63..3d0d472 100644
--- a/include/libsurvive/survive.h
+++ b/include/libsurvive/survive.h
@@ -4,7 +4,6 @@
#include <stdint.h>
#include "survive_types.h"
#include "poser.h"
-#include "os_generic.h"
#ifdef __cplusplus
extern "C" {
@@ -117,7 +116,7 @@ typedef struct
{
uint8_t nextReadIndex; //init to 0
uint8_t nextWriteIndex; // init to 0
- og_sema_t buttonservicesem;
+ void* buttonservicesem;
ButtonQueueEntry entry[BUTTON_QUEUE_MAX_LEN];
} ButtonQueue;
@@ -150,7 +149,7 @@ struct SurviveContext
uint8_t isClosing; // flag to indicate if threads should terminate themselves
- og_thread_t buttonservicethread;
+ void* buttonservicethread;
ButtonQueue buttonQueue;
};