From 57521e4e60c47b4683910d7f3cec42d1fa276810 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 14 Oct 2008 16:14:13 +1030 Subject: Rename DragLockInit to DragLockPreInit, remove superfluous "return". (cherry picked from commit 088e0a175a4913bf827c1f7e19de09fdf987d347) --- src/draglock.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/draglock.c') diff --git a/src/draglock.c b/src/draglock.c index 894aa8a..e1f037a 100644 --- a/src/draglock.c +++ b/src/draglock.c @@ -53,7 +53,7 @@ void EvdevDragLockLockButton(InputInfoPtr pInfo, unsigned int button); /* Setup and configuration code */ void -EvdevDragLockInit(InputInfoPtr pInfo) +EvdevDragLockPreInit(InputInfoPtr pInfo) { EvdevPtr pEvdev = (EvdevPtr)pInfo->private; char *option_string = NULL; @@ -247,8 +247,6 @@ EvdevDragLockInitProperty(DeviceIntPtr dev) XISetDevicePropertyDeletable(dev, prop_dlock, FALSE); XIRegisterPropertyHandler(dev, EvdevDragLockSetProperty, NULL, NULL); - - return; } /** -- cgit v1.2.3