mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +00:00
input: switch InitValuatorAxisStruct to return Bool
Return errors instead of silently ignoring them. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
5ac1f885f5
commit
8d1a414cca
4 changed files with 11 additions and 9 deletions
|
|
@ -40,7 +40,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
extern _X_EXPORT int InitProximityClassDeviceStruct(
|
||||
DeviceIntPtr /* dev */);
|
||||
|
||||
extern _X_EXPORT void InitValuatorAxisStruct(
|
||||
extern _X_EXPORT Bool InitValuatorAxisStruct(
|
||||
DeviceIntPtr /* dev */,
|
||||
int /* axnum */,
|
||||
Atom /* label */,
|
||||
|
|
|
|||
Loading…
Reference in a new issue