~vcs-imports/xorg-driver-synaptics/master

« back to all changes in this revision

Viewing changes to src/synapticsstr.h

  • Committer: Peter Hutterer
  • Author(s): Daniel Stone
  • Date: 2012-01-06 02:13:18 UTC
  • Revision ID: git-v1:3804a0ee0bec455fcc61a469dd907738ff5589bd
Constify priv->device

Fixes a compiler warning due to discarding the const qualifier as it
comes back from the option code.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
 
186
186
    struct SynapticsHwState hwState;
187
187
 
188
 
    char *device;                       /* device node */
 
188
    const char *device;                 /* device node */
189
189
    Bool shm_config;                    /* True when shared memory area allocated */
190
190
 
191
191
    CARD32 timer_time;                  /* when timer last fired */