Deleted Added
full compact
moused.c (59465) moused.c (66834)
1/**
2 ** Copyright (c) 1995 Michael Smith, All rights reserved.
3 **
4 ** Redistribution and use in source and binary forms, with or without
5 ** modification, are permitted provided that the following conditions
6 ** are met:
7 ** 1. Redistributions of source code must retain the above copyright
8 ** notice, this list of conditions and the following disclaimer as

--- 32 unchanged lines hidden (view full) ---

41 ** The mouse interface functions are derived closely from the mouse
42 ** handler in the XFree86 X server. Many thanks to the XFree86 people
43 ** for their great work!
44 **
45 **/
46
47#ifndef lint
48static const char rcsid[] =
1/**
2 ** Copyright (c) 1995 Michael Smith, All rights reserved.
3 **
4 ** Redistribution and use in source and binary forms, with or without
5 ** modification, are permitted provided that the following conditions
6 ** are met:
7 ** 1. Redistributions of source code must retain the above copyright
8 ** notice, this list of conditions and the following disclaimer as

--- 32 unchanged lines hidden (view full) ---

41 ** The mouse interface functions are derived closely from the mouse
42 ** handler in the XFree86 X server. Many thanks to the XFree86 people
43 ** for their great work!
44 **
45 **/
46
47#ifndef lint
48static const char rcsid[] =
49 "$FreeBSD: head/usr.sbin/moused/moused.c 59465 2000-04-21 14:20:25Z yokota $";
49 "$FreeBSD: head/usr.sbin/moused/moused.c 66834 2000-10-08 21:34:00Z phk $";
50#endif /* not lint */
51
52#include <ctype.h>
53#include <err.h>
54#include <errno.h>
55#include <fcntl.h>
56#include <limits.h>
57#include <stdio.h>
58#include <stdlib.h>
59#include <stdarg.h>
60#include <string.h>
61#include <ctype.h>
62#include <signal.h>
63#include <setjmp.h>
64#include <termios.h>
65#include <syslog.h>
66
50#endif /* not lint */
51
52#include <ctype.h>
53#include <err.h>
54#include <errno.h>
55#include <fcntl.h>
56#include <limits.h>
57#include <stdio.h>
58#include <stdlib.h>
59#include <stdarg.h>
60#include <string.h>
61#include <ctype.h>
62#include <signal.h>
63#include <setjmp.h>
64#include <termios.h>
65#include <syslog.h>
66
67#include <machine/console.h>
68#include <machine/mouse.h>
69
67#include <machine/mouse.h>
68
69#include <sys/consio.h>
70#include <sys/types.h>
71#include <sys/time.h>
72#include <sys/socket.h>
73#include <sys/un.h>
74#include <unistd.h>
75
76#define MAX_CLICKTHRESHOLD 2000 /* 2 seconds */
77#define MAX_BUTTON2TIMEOUT 2000 /* 2 seconds */

--- 2829 unchanged lines hidden ---
70#include <sys/types.h>
71#include <sys/time.h>
72#include <sys/socket.h>
73#include <sys/un.h>
74#include <unistd.h>
75
76#define MAX_CLICKTHRESHOLD 2000 /* 2 seconds */
77#define MAX_BUTTON2TIMEOUT 2000 /* 2 seconds */

--- 2829 unchanged lines hidden ---