diff options
author | Peter Harris <pharris@opentext.com> | 2014-03-10 18:31:33 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-07-17 10:19:52 -0700 |
commit | 5eb77697ea35e7dc8cb8af2c3b5d8ffdba0fb632 (patch) | |
tree | 633e3533d8a009e8682d08f61e4c7b95d1258e75 /include/input.h | |
parent | 8b36e1ec8dd9f53e9f4e10422c2100844e9e549c (diff) |
Avoid starting a comment with */*
Even though -Wcomment doesn't mind it (in gcc or clang), the appearance
of */* confuses the syntax highlighter of some editors (eg. vim), and
causes warnings in MSVC.
Signed-off-by: Peter Harris <pharris@opentext.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/input.h b/include/input.h index cbf949b53..1b2102fc1 100644 --- a/include/input.h +++ b/include/input.h @@ -314,10 +314,10 @@ extern _X_EXPORT Bool InitTouchClassDeviceStruct(DeviceIntPtr /*device */ , unsigned int /*mode */ , unsigned int /*numAxes */ ); -typedef void (*BellProcPtr) (int /*percent */ , - DeviceIntPtr /*device */ , - void */*ctrl */ , - int); +typedef void (*BellProcPtr) (int percent, + DeviceIntPtr device, + void *ctrl, + int feedbackClass); typedef void (*KbdCtrlProcPtr) (DeviceIntPtr /*device */ , KeybdCtrl * /*ctrl */ ); |