summaryrefslogtreecommitdiff
path: root/synclient.c
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2004-07-30 20:19:32 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:02:44 +0200
commit7e210b8b981b01f4fe75c7bd4eef07881d3aa4d6 (patch)
tree9c402a4d2122fc814dc3097bfe0934b69fcac6e2 /synclient.c
parenta8ea1ab150cd0359f2e1ccf7f7193dbee1e0d737 (diff)
Whitespace fixes.
Diffstat (limited to 'synclient.c')
-rw-r--r--synclient.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/synclient.c b/synclient.c
index a2cbe19..3b4105e 100644
--- a/synclient.c
+++ b/synclient.c
@@ -214,7 +214,7 @@ static void monitor(SynapticsSHM* synshm, int delay)
memset(&old, 0, sizeof(SynapticsSHM));
old.x = -1; /* Force first equality test to fail */
- while(1) {
+ while (1) {
SynapticsSHM cur = *synshm;
if (!is_equal(&old, &cur)) {
if (!header) {
@@ -292,7 +292,7 @@ int main(int argc, char* argv[])
usage();
/* Connect to the shared memory area */
- if((shmid = shmget(SHM_SYNAPTICS, sizeof(SynapticsSHM), 0)) == -1) {
+ if ((shmid = shmget(SHM_SYNAPTICS, sizeof(SynapticsSHM), 0)) == -1) {
if ((shmid = shmget(SHM_SYNAPTICS, 0, 0)) == -1) {
fprintf(stderr, "Can't access shared memory area. SHMConfig disabled?\n");
exit(1);
@@ -301,7 +301,7 @@ int main(int argc, char* argv[])
exit(1);
}
}
- if((synshm = (SynapticsSHM*) shmat(shmid, NULL, 0)) == NULL) {
+ if ((synshm = (SynapticsSHM*) shmat(shmid, NULL, 0)) == NULL) {
perror("shmat");
exit(1);
}