diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-07-10 02:02:50 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-09 23:06:41 -0700 |
commit | 854c1fa4a1e90288d1e2f3777fac3e1a9acb1235 (patch) | |
tree | 34d17367c91f9145ceccb90beaccddad68be7d05 /Xi | |
parent | 67953d6975ef2ee573b95e7641aaf3d72e9f8379 (diff) |
Add a common ARRAY_SIZE macro to dix.h
Does what it says on the box, replacing those from Xi/ and glx/.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/extinit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Xi/extinit.c b/Xi/extinit.c index bcea410b1..52d248b51 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -49,8 +49,6 @@ SOFTWARE. * Dispatch routines and initialization routines for the X input extension. * */ -#define ARRAY_SIZE(_a) (sizeof((_a)) / sizeof((_a)[0])) - #define NUMTYPES 15 #ifdef HAVE_DIX_CONFIG_H |