summaryrefslogtreecommitdiff
path: root/src/xenfb_server.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2011-06-01 13:42:35 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2011-06-01 13:42:35 -0400
commitc2e78a7592b25f68ee5f5b242fbdb5cb6d6e2b20 (patch)
tree974d20892a05b8f543223f928c71f508d36be643 /src/xenfb_server.c
parent139c4f04e215105b220a68ea90065039246abcd8 (diff)
Include file cleanup.
Diffstat (limited to 'src/xenfb_server.c')
-rw-r--r--src/xenfb_server.c20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/xenfb_server.c b/src/xenfb_server.c
index f79ff8c..536c5ae 100644
--- a/src/xenfb_server.c
+++ b/src/xenfb_server.c
@@ -25,20 +25,19 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include <stdarg.h>
-#include <stdlib.h>
#include <sys/types.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdbool.h>
#include <sys/mman.h>
-#include <errno.h>
+#include <stdint.h>
+#include <stdlib.h>
#include <stdio.h>
+#include <stdarg.h>
#include <string.h>
-#include <time.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <errno.h>
-#include <xs.h>
#include <xenctrl.h>
+#include <xs.h>
#include <xen/event_channel.h>
#include <xen/io/xenbus.h>
#include <xen/io/fbif.h>
@@ -48,11 +47,6 @@
#include "xen_backend.h"
#include "xen_linpicker.h"
-#ifndef BTN_LEFT
-#define BTN_LEFT 0x110 /* from <linux/input.h> */
-#endif
-
-/* -------------------------------------------------------------------- */
/* -------------------------------------------------------------------- */
static int common_bind(struct common *c)