Reviewed-by: Ping Cheng <[email protected]> Ping
On Tue, Jun 1, 2010 at 9:43 PM, Peter Hutterer <[email protected]> wrote: > We've implemented/kicked out all parameters that weren't implemented. > > Signed-off-by: Peter Hutterer <[email protected]> > --- > tools/xsetwacom.c | 8 +------- > 1 files changed, 1 insertions(+), 7 deletions(-) > > diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c > index 33a4808..d0d7153 100644 > --- a/tools/xsetwacom.c > +++ b/tools/xsetwacom.c > @@ -102,11 +102,6 @@ static void get_twinview(Display *dpy, XDevice *dev, > param_t *param, int argc, c > static void set_xydefault(Display *dpy, XDevice *dev, param_t *param, int > argc, char **argv); > static void get_all(Display *dpy, XDevice *dev, param_t *param, int argc, > char **argv); > static void get_param(Display *dpy, XDevice *dev, param_t *param, int argc, > char **argv); > -static void not_implemented(Display *dpy, XDevice *dev, param_t *param, int > argc, char **argv) > -{ > - /* default get_func/set_func for not-implemented functionality */ > - printf("Not implemented.\n"); > -} > > static param_t parameters[] = > { > @@ -1099,8 +1094,7 @@ static void list_param(Display *dpy) > > while(param->name) > { > - printf("%-16s - %16s%s\n", param->name, param->desc, > - (param->set_func == not_implemented) ? " [not > implemented]" : ""); > + printf("%-16s - %16s\n", param->name, param->desc); > param++; > } > } > -- > 1.7.0.1 > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Linuxwacom-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel > ------------------------------------------------------------------------------ _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
