summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-05-21 16:01:42 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-05-31 15:13:38 +1000
commit29bc1a8a5e0d12dadaed3f9d162bcc6b7913250a (patch)
tree65890524aeb24b3f9a0ab92992aa6d4a56b9137c /src
parent3621ef8a2b02da5ef303b80e26ec46b4a89cb9da (diff)
Remove an unused define for 1/sqrt(2)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'src')
-rw-r--r--src/synaptics.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index e16718a..3a88b54 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -114,10 +114,6 @@ typedef enum {
#define M_PI 3.14159265358979323846
#endif
-#ifndef M_SQRT1_2
-#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
-#endif
-
#define INPUT_BUFFER_SIZE 200
/*****************************************************************************