mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-19 03:00:34 +01:00
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 3cc5e44224)
This commit is contained in:
parent
223794505e
commit
8d6e2e9906
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@
|
|||
#include "xf86InPriv.h"
|
||||
#include "compiler.h"
|
||||
#include "extinit.h"
|
||||
#include "loaderProcs.h"
|
||||
|
||||
#ifdef DPMSExtension
|
||||
#include <X11/extensions/dpmsconst.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue