aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-09-26 20:18:18 +0200
committerJoel Bodenmann <joel@unormal.org>2012-09-26 20:18:18 +0200
commit1003c37e0b468f04c6b328e000de2a5c109bad82 (patch)
tree6d70edd0aa2b958ef835a2a4955f5fed6bb7ace8 /include
parent1d6a1b5338f3a1b5e95161793013f81b852d1a29 (diff)
downloaduGFX-1003c37e0b468f04c6b328e000de2a5c109bad82.tar.gz
uGFX-1003c37e0b468f04c6b328e000de2a5c109bad82.tar.bz2
uGFX-1003c37e0b468f04c6b328e000de2a5c109bad82.zip
cleanups
Diffstat (limited to 'include')
-rw-r--r--include/gdisp_emulation.c13
-rw-r--r--include/touchpad.h2
-rw-r--r--include/touchpad_lld.h2
3 files changed, 5 insertions, 12 deletions
diff --git a/include/gdisp_emulation.c b/include/gdisp_emulation.c
index b38ca281..c81bd305 100644
--- a/include/gdisp_emulation.c
+++ b/include/gdisp_emulation.c
@@ -33,15 +33,6 @@
#if HAL_USE_GDISP || defined(__DOXYGEN__)
-#ifdef UNUSED
-#elif defined(__GNUC__)
-# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
-#elif defined(__LCLINT__)
-# define UNUSED(x) /*@unused@*/ x
-#else
-# define UNUSED(x) x
-#endif
-
#ifndef GDISP_LLD_NO_STRUCT
static struct GDISPDriver {
coord_t Width;
@@ -587,7 +578,9 @@
#if GDISP_NEED_CONTROL && !GDISP_HARDWARE_CONTROL
- void GDISP_LLD(control)(unsigned UNUSED(what), void *UNUSED(value)) {
+ void GDISP_LLD(control)(unsigned what, void *value) {
+ (void)what;
+ (void)value;
/* Ignore everything */
}
#endif
diff --git a/include/touchpad.h b/include/touchpad.h
index 4d4931fe..d168fc0c 100644
--- a/include/touchpad.h
+++ b/include/touchpad.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/GFX/RT - Copyright (C) 2012
+ ChibiOS/GFX - Copyright (C) 2012
Joel Bodenmann aka Tectu <joel@unormal.org>
This file is part of ChibiOS/GFX.
diff --git a/include/touchpad_lld.h b/include/touchpad_lld.h
index 0292aac4..d00b6e6f 100644
--- a/include/touchpad_lld.h
+++ b/include/touchpad_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/GFX/RT - Copyright (C) 2012
+ ChibiOS/GFX - Copyright (C) 2012
Joel Bodenmann aka Tectu <joel@unormal.org>
This file is part of ChibiOS/GFX.