xset: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Fri Jul 19 23:21:19 PDT 2013
man/xset.man | 7 +++
xset.c | 133 ++++++++++++++++++++++++++++++++---------------------------
2 files changed, 80 insertions(+), 60 deletions(-)
New commits:
commit e44841fdd4552cde3aca28471a59ad64c5a05547
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Jul 19 22:58:47 2013 -0700
Pass buf size to on_or_off instead of just assuming it is big enough
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 86fda0478065488dfc423b67ea1747817106335f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Jul 19 22:47:38 2013 -0700
Add -version flag
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 8d49ad3f03c858222863fa986de850d5a554d69f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Jul 19 22:32:38 2013 -0700
Fix integer sign/size conversion warnings from clang
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 72296976365e6f91129f25468771fa864b20e862
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Jul 19 22:05:07 2013 -0700
Add printf attribute to usage function and fix warnings it causes
gcc suggested it:
xset.c: In function âusageâ:
xset.c:1577:2: warning: function might be possible candidate for âgnu_printfâ
format attribute [-Wmissing-format-attribute]
But adding it unveiled many complaints about extra trailing NULL args
from before usage took a variable number of arguments:
xset.c:186:3: warning: too many arguments for format [-Wformat-extra-args]
xset.c:193:2: warning: too many arguments for format [-Wformat-extra-args]
xset.c:362:3: warning: too many arguments for format [-Wformat-extra-args]
xset.c:370:3: warning: too many arguments for format [-Wformat-extra-args]
xset.c:376:3: warning: too many arguments for format [-Wformat-extra-args]
xset.c:382:3: warning: too many arguments for format [-Wformat-extra-args]
xset.c:388:3: warning: too many arguments for format [-Wformat-extra-args]
xset.c:402:7: warning: too many arguments for format [-Wformat-extra-args]
xset.c:425:7: warning: too many arguments for format [-Wformat-extra-args]
xset.c:542:4: warning: too many arguments for format [-Wformat-extra-args]
xset.c:735:3: warning: too many arguments for format [-Wformat-extra-args]
so those were deleted.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit d3f87090b92b0c77a75027ba660351d18a733c8b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Jul 19 22:00:51 2013 -0700
Fix gcc warnings about discarded const qualifiers
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list