[PATCH 22/25] Remove duplicate declarations of KdAdd*Driver in kdrive.h

Alan Coopersmith alan.coopersmith at oracle.com
Sun Dec 11 10:16:35 PST 2011

Clears gcc warnings in every file that includes kdrive.h:
kdrive.h:507:1: warning: redundant redeclaration of 'KdAddPointerDriver'
kdrive.h:225:6: note: previous declaration of 'KdAddPointerDriver' was here
kdrive.h:510:1: warning: redundant redeclaration of 'KdAddKeyboardDriver'
kdrive.h:284:6: note: previous declaration of 'KdAddKeyboardDriver' was here

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
 hw/kdrive/src/kdrive.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/hw/kdrive/src/kdrive.h b/hw/kdrive/src/kdrive.h
index be884ab..cda965d 100644
--- a/hw/kdrive/src/kdrive.h
+++ b/hw/kdrive/src/kdrive.h
@@ -503,12 +503,6 @@ KdInitInput(void);
-KdAddPointerDriver(KdPointerDriver *);
-KdAddKeyboardDriver(KdKeyboardDriver *);
 KdRegisterFd (int fd, void (*read) (int fd, void *closure), void *closure);

More information about the xorg-devel mailing list