Fix some obvious constness-related compile warnings
ok matthieu@
This commit is contained in:
parent
6e616a8701
commit
3abd8f3785
@ -13,7 +13,7 @@
|
|||||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
/* $OpenBSD: ws.c,v 1.51 2011/12/29 13:48:05 matthieu Exp $ */
|
/* $OpenBSD: ws.c,v 1.52 2012/06/12 17:04:43 shadchin Exp $ */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -772,7 +772,7 @@ wsSetCalibProperty(DeviceIntPtr device, Atom atom, XIPropertyValuePtr val,
|
|||||||
|
|
||||||
void
|
void
|
||||||
wsWheelHandleButtonMap(InputInfoPtr pInfo, WheelAxisPtr pAxis,
|
wsWheelHandleButtonMap(InputInfoPtr pInfo, WheelAxisPtr pAxis,
|
||||||
char* axis_name, char* default_value)
|
const char* axis_name, const char* default_value)
|
||||||
{
|
{
|
||||||
WSDevicePtr priv = (WSDevicePtr)pInfo->private;
|
WSDevicePtr priv = (WSDevicePtr)pInfo->private;
|
||||||
char *option_string;
|
char *option_string;
|
||||||
|
@ -95,5 +95,6 @@ extern BOOL wsWheelEmuFilterButton(InputInfoPtr, unsigned int, int);
|
|||||||
extern BOOL wsWheelEmuFilterMotion(InputInfoPtr, int, int);
|
extern BOOL wsWheelEmuFilterMotion(InputInfoPtr, int, int);
|
||||||
extern void wsWheelEmuInitProperty(DeviceIntPtr);
|
extern void wsWheelEmuInitProperty(DeviceIntPtr);
|
||||||
|
|
||||||
extern void wsWheelHandleButtonMap(InputInfoPtr, WheelAxisPtr, char *, char *);
|
extern void wsWheelHandleButtonMap(InputInfoPtr, WheelAxisPtr, const char *,
|
||||||
|
const char *);
|
||||||
extern void wsButtonClicks(InputInfoPtr, int, int);
|
extern void wsButtonClicks(InputInfoPtr, int, int);
|
||||||
|
Loading…
Reference in New Issue
Block a user