Declare capability_name() as returning const char *
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 13 Jul 2013 07:07:26 +0000 (00:07 -0700)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 13 Jul 2013 07:07:26 +0000 (00:07 -0700)
commit38772ec3b5a7216a88676f95b5edc764dd0a23d6
tree4e99597fa0e81489c9bd554b3a15fece11161279
parentf53d8511d26a26e9bd6b1bc665f6283f1efd98d9
Declare capability_name() as returning const char *

Only used as an argument to printf.   Clears gcc warnings:
xrandr.c: In function ‘capability_name’:
xrandr.c:237:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
xrandr.c:239:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
xrandr.c:241:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
xrandr.c:243:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
xrandr.c:245:5: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xrandr.c