summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2003-05-03 10:22:15 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:00:56 +0200
commitc2a2cd369203191cb8da5c74339e09a9becbc635 (patch)
tree6b00f3347c2cfb40a8bbe4d85407032e4a02dc48
parent280b22f3f87740e3a9df2cc6478dfbcff5bdd695 (diff)
Made the params[] array in synclient.c static.
-rw-r--r--synclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/synclient.c b/synclient.c
index 8d62856..98c15a0 100644
--- a/synclient.c
+++ b/synclient.c
@@ -42,7 +42,7 @@ struct Parameter {
#define DEFINE_PAR(name, memb, type, min_val, max_val) \
{ name, offsetof(SynapticsSHM, memb), (type), (min_val), (max_val) }
-struct Parameter params[] = {
+static struct Parameter params[] = {
DEFINE_PAR("LeftEdge", left_edge, PT_INT, 0, 10000),
DEFINE_PAR("RightEdge", right_edge, PT_INT, 0, 10000),
DEFINE_PAR("TopEdge", top_edge, PT_INT, 0, 10000),