aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-11-21 11:06:04 +0100
committerJoel Bodenmann <joel@unormal.org>2012-11-21 11:06:04 +0100
commitdfb9f92eb1561bcca61dfc9ab516cfba46bc575d (patch)
treee154f239f23fdcff7555b2d9b921f8426874bcc3
parent795947a251722cb2df3a2588f383dcc43935a535 (diff)
downloaduGFX-dfb9f92eb1561bcca61dfc9ab516cfba46bc575d.tar.gz
uGFX-dfb9f92eb1561bcca61dfc9ab516cfba46bc575d.tar.bz2
uGFX-dfb9f92eb1561bcca61dfc9ab516cfba46bc575d.zip
cleanup of source files
-rw-r--r--src/gdisp.c5
-rw-r--r--src/gdisp_fonts.c1
-rw-r--r--src/gevent.c5
-rw-r--r--src/ginput.c5
-rw-r--r--src/gtimer.c5
-rw-r--r--src/gwin.c5
-rw-r--r--src/touchscreen.c8
7 files changed, 0 insertions, 34 deletions
diff --git a/src/gdisp.c b/src/gdisp.c
index 5c807db5..92bb060d 100644
--- a/src/gdisp.c
+++ b/src/gdisp.c
@@ -29,9 +29,6 @@
#include "hal.h"
#include "gdisp.h"
-#ifndef _GDISP_C
-#define _GDISP_C
-
#if GFX_USE_GDISP || defined(__DOXYGEN__)
#ifdef GDISP_NEED_TEXT
@@ -1268,7 +1265,5 @@ void gdispDrawBox(coord_t x, coord_t y, coord_t cx, coord_t cy, color_t color) {
#endif
#endif /* GFX_USE_GDISP */
-
-#endif /* _GDISP_C */
/** @} */
diff --git a/src/gdisp_fonts.c b/src/gdisp_fonts.c
index bd30342c..4384a72e 100644
--- a/src/gdisp_fonts.c
+++ b/src/gdisp_fonts.c
@@ -31,7 +31,6 @@
#include "gdisp_fonts.h"
-
/* fontSmall - for side buttons */
#if 1
/* Forward Declarations of internal arrays */
diff --git a/src/gevent.c b/src/gevent.c
index 0c486058..d9c7e4f1 100644
--- a/src/gevent.c
+++ b/src/gevent.c
@@ -29,9 +29,6 @@
#include "hal.h"
#include "gevent.h"
-#ifndef _GEVENT_C
-#define _GEVENT_C
-
#if GFX_USE_GEVENT || defined(__DOXYGEN__)
#if GEVENT_ASSERT_NO_RESOURCE
@@ -247,6 +244,4 @@ void geventDetachSourceListeners(GSourceHandle gsh) {
}
#endif /* GFX_USE_GEVENT */
-
-#endif /* _GEVENT_C */
/** @} */
diff --git a/src/ginput.c b/src/ginput.c
index d12bef2b..9b6b180a 100644
--- a/src/ginput.c
+++ b/src/ginput.c
@@ -29,14 +29,9 @@
#include "hal.h"
#include "ginput.h"
-#ifndef _GINPUT_C
-#define _GINPUT_C
-
#if GFX_USE_GINPUT || defined(__DOXYGEN__)
#error "GINPUT: Not Implemented Yet"
#endif /* GFX_USE_GINPUT */
-
-#endif /* _GINPUT_C */
/** @} */
diff --git a/src/gtimer.c b/src/gtimer.c
index 9467d079..98556607 100644
--- a/src/gtimer.c
+++ b/src/gtimer.c
@@ -29,9 +29,6 @@
#include "hal.h"
#include "gtimer.h"
-#ifndef _GTIMER_C
-#define _GTIMER_C
-
#if GFX_USE_GTIMER || defined(__DOXYGEN__)
#define GTIMER_FLG_PERIODIC 0x0001
@@ -298,6 +295,4 @@ void gtimerJabI(GTimer *pt) {
}
#endif /* GFX_USE_GTIMER */
-
-#endif /* _GTIMER_C */
/** @} */
diff --git a/src/gwin.c b/src/gwin.c
index 10293c4c..86765935 100644
--- a/src/gwin.c
+++ b/src/gwin.c
@@ -29,9 +29,6 @@
#include "hal.h"
#include "gwin.h"
-#ifndef _GWIN_C
-#define _GWIN_C
-
#if GFX_USE_GWIN || defined(__DOXYGEN__)
#include <string.h>
@@ -894,7 +891,5 @@ void gwinButtonDraw(GHandle gh) {
#endif
#endif /* GFX_USE_GWIN */
-
-#endif /* _GWIN_C */
/** @} */
diff --git a/src/touchscreen.c b/src/touchscreen.c
index 7b562c32..0fa5402e 100644
--- a/src/touchscreen.c
+++ b/src/touchscreen.c
@@ -33,14 +33,6 @@
#if GFX_USE_TOUCHSCREEN || defined(__DOXYGEN__)
/*===========================================================================*/
-/* Driver local definitions. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Driver exported variables. */
-/*===========================================================================*/
-
-/*===========================================================================*/
/* Driver local variables. */
/*===========================================================================*/
static struct cal_t *cal;