The hook the server calls is named PreInit, so use the same name to avoid potential confusion with what this call actually does. Since we have misc. wcmInitializeFoobar as well, wcmPreInit somewhat expresses the intent a bit better.
Signed-off-by: Peter Hutterer <[email protected]> --- src/wcmConfig.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wcmConfig.c b/src/wcmConfig.c index ad3b241..ef477e8 100644 --- a/src/wcmConfig.c +++ b/src/wcmConfig.c @@ -313,9 +313,9 @@ static Bool wcmMatchDevice(LocalDevicePtr pMatch, LocalDevicePtr pLocal) return 0; } -/* wcmInit - called for each input devices with the driver set to +/* wcmPreInit - called for each input devices with the driver set to * "wacom" */ -static LocalDevicePtr wcmInit(InputDriverPtr drv, IDevPtr dev, int flags) +static LocalDevicePtr wcmPreInit(InputDriverPtr drv, IDevPtr dev, int flags) { LocalDevicePtr local = NULL; WacomDevicePtr priv = NULL; @@ -427,7 +427,7 @@ InputDriverRec WACOM = 1, /* driver version */ "wacom", /* driver name */ NULL, /* identify */ - wcmInit, /* pre-init */ + wcmPreInit, /* pre-init */ wcmUninit, /* un-init */ NULL, /* module */ 0 /* ref count */ -- 1.6.6.1 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
