summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86Module.h
diff options
context:
space:
mode:
authorTomas Carnecky <tom@dbservice.com>2012-07-10 02:02:53 +0100
committerKeith Packard <keithp@keithp.com>2012-07-09 23:06:41 -0700
commit5079db78aea8fa42e781dd876c1ee1c31571b3ae (patch)
treedfb87046c638c9e6da2cef0655fe642ae128cd0a /hw/xfree86/common/xf86Module.h
parentbddb8c6cbe52ba9923b1d36d01f5ac9391b0ec0e (diff)
Replace INITARGS with void
INITARGS was a hardcoded define to void. Since knowing the function signature for your extensions is kinda useful, just replace it with a hardcoded void, but leave the define there for API compatibility. Signed-off-by: Tomas Carnecky <tom@dbservice.com> Reviewed-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 'hw/xfree86/common/xf86Module.h')
-rw-r--r--hw/xfree86/common/xf86Module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Module.h b/hw/xfree86/common/xf86Module.h
index 7671cea5d..9ba874c4b 100644
--- a/hw/xfree86/common/xf86Module.h
+++ b/hw/xfree86/common/xf86Module.h
@@ -171,7 +171,7 @@ typedef struct {
#define INITARGS void
-typedef void (*InitExtension) (INITARGS);
+typedef void (*InitExtension) (void);
typedef struct {
InitExtension initFunc;