diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-07-23 14:48:32 +1000 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2010-09-29 14:07:04 -0400 |
commit | 8d6e2e9906fb0389db2b777d9d8bc2373f537f88 (patch) | |
tree | 6faeb4bf7e55975aa5641809769cd22f4bc2525d | |
parent | 223794505e64ab5aa215f4847822d66cd6f3450f (diff) |
xfree86: fix compiler warning about implicied decl of DuplicateModule.
../../../../hw/xfree86/common/xf86Xinput.c: In function ‘xf86AllocateInput’:
../../../../hw/xfree86/common/xf86Xinput.c:722: warning: implicit
declaration of function ‘DuplicateModule’
../../../../hw/xfree86/common/xf86Xinput.c:722: warning: nested extern
declaration of ‘DuplicateModule’
../../../../hw/xfree86/common/xf86Xinput.c:722: warning: assignment makes
pointer from integer without a cast
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
(cherry picked from commit 3cc5e4422430e9ca44615f3e63feccd2e5729046)
-rw-r--r-- | hw/xfree86/common/xf86Xinput.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index bd77fe663..877eb0382 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -66,6 +66,7 @@ #include "xf86InPriv.h" #include "compiler.h" #include "extinit.h" +#include "loaderProcs.h" #ifdef DPMSExtension #include <X11/extensions/dpmsconst.h> |