aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_linux.h
diff options
context:
space:
mode:
authorinmarket <inmarket@ugfx.io>2017-08-16 16:49:02 +1000
committerinmarket <inmarket@ugfx.io>2017-08-16 16:49:02 +1000
commitd7b083da1e3fbc9355422bc29470c387e88389d7 (patch)
tree5b21b55ae61e54fb1bdad40aaf0f590385176c02 /src/gos/gos_linux.h
parent422e95becf719ab3dfc3e37d5fda1b6f37dd02fb (diff)
downloaduGFX-d7b083da1e3fbc9355422bc29470c387e88389d7.tar.gz
uGFX-d7b083da1e3fbc9355422bc29470c387e88389d7.tar.bz2
uGFX-d7b083da1e3fbc9355422bc29470c387e88389d7.zip
Remove long obsoleted (and dubious) functions gfxSemCounter() and gfxSemCounterI()
Diffstat (limited to 'src/gos/gos_linux.h')
-rw-r--r--src/gos/gos_linux.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gos/gos_linux.h b/src/gos/gos_linux.h
index fe406cb6..b9bfe82e 100644
--- a/src/gos/gos_linux.h
+++ b/src/gos/gos_linux.h
@@ -65,7 +65,6 @@ typedef pthread_mutex_t gfxMutex;
sem_t sem;
semcount_t max;
} gfxSem;
- #define gfxSemCounterI(psem) gfxSemCounter(psem)
#else
typedef struct gfxSem {
pthread_mutex_t mtx;
@@ -73,7 +72,6 @@ typedef pthread_mutex_t gfxMutex;
semcount_t cnt;
semcount_t max;
} gfxSem;
- #define gfxSemCounterI(psem) ((psem)->cnt)
#endif
/*===========================================================================*/
@@ -95,7 +93,6 @@ void gfxSemInit(gfxSem *psem, semcount_t val, semcount_t limit);
void gfxSemDestroy(gfxSem *psem);
bool_t gfxSemWait(gfxSem *psem, delaytime_t ms);
void gfxSemSignal(gfxSem *psem);
-semcount_t gfxSemCounter(gfxSem *pSem);
gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_t prio, DECLARE_THREAD_FUNCTION((*fn),p), void *param);
threadreturn_t gfxThreadWait(gfxThreadHandle thread);