summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-05-11 13:46:31 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-05-11 13:46:31 +1000
commitf539d676607d3a7566093e2bd54edc740db20426 (patch)
treea2e959defe1008133eeceddd1821acf5b9586e90
parentc52e4a8ecd6bb535850ec6ff032f69a225734f8f (diff)
Remove psmcomm.h header - superfluous.
Don't need a full header file for 3 include directives of system headers. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/Makefile.am2
-rw-r--r--src/psmcomm.c4
-rw-r--r--src/psmcomm.h29
3 files changed, 4 insertions, 31 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e7ee375..cf4a2b9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,6 +44,6 @@ endif
if BUILD_PSMCOMM
@DRIVER_NAME@_drv_la_SOURCES += \
- psmcomm.c psmcomm.h
+ psmcomm.c
endif
diff --git a/src/psmcomm.c b/src/psmcomm.c
index f5c2b0c..6664c93 100644
--- a/src/psmcomm.c
+++ b/src/psmcomm.c
@@ -39,7 +39,9 @@
#endif
#include <xorg-server.h>
-#include "psmcomm.h"
+#include <unistd.h>
+#include <sys/ioctl.h>
+#include <sys/mouse.h>
#include <errno.h>
#include <string.h>
#include "synproto.h"
diff --git a/src/psmcomm.h b/src/psmcomm.h
deleted file mode 100644
index 07cb528..0000000
--- a/src/psmcomm.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Permission to use, copy, modify, distribute, and sell this software
- * and its documentation for any purpose is hereby granted without
- * fee, provided that the above copyright notice appear in all copies
- * and that both that copyright notice and this permission notice
- * appear in supporting documentation, and that the name of Red Hat
- * not be used in advertising or publicity pertaining to distribution
- * of the software without specific, written prior permission. Red
- * Hat makes no representations about the suitability of this software
- * for any purpose. It is provided "as is" without express or implied
- * warranty.
- *
- * THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
- * NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
- * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
- * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
-#ifndef _PSMCOMM_H_
-#define _PSMCOMM_H_
-
-#include <unistd.h>
-#include <sys/ioctl.h>
-#include <sys/mouse.h>
-
-#endif