xdpyinfo: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Sun Feb 10 19:54:00 PST 2013
xdpyinfo.c | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
New commits:
commit fa36071570461e73b57583e490d794334b038f48
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Feb 10 19:50:21 2013 -0800
Mark num_known_extensions as a const, since the size is fixed at compile time
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 57a45f3b7bb745a082e459d965bee2b11e3bd7b6
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Feb 10 19:29:05 2013 -0800
Convert sprintf calls to snprintf
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit f08b3613b2fd6995da264ea0a39c6d48dd28bf97
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Feb 10 19:10:57 2013 -0800
Rename i & count in inner loop to avoid shadowing same named vars in outer loop
xdpyinfo.c: In function `print_dmx_info':
xdpyinfo.c:1282: warning: declaration of 'count' shadows a previous local
xdpyinfo.c:1231: warning: shadowed declaration is here
xdpyinfo.c:1282: warning: declaration of 'i' shadows a previous local
xdpyinfo.c:1232: warning: shadowed declaration is here
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list