xfs: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Fri Aug 29 16:26:25 PDT 2014


 os/xfstrans.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3d9bc5a3a8dd36188b0c09d536dcc3c0a8339c31
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Aug 23 13:00:24 2014 -0700

    Add const to port variable passed to TRANS(ReopenCOTSServer)
    
    Before this patch, gcc always warns:
    os/xfstrans.c: In function ‘_FontTransGetInetdListenInfo’:
    os/xfstrans.c:38:18: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
         char *port = "0";
                      ^
    
    After this patch, with prior versons of libxtrans, gcc will warn about
    passing a const to TRANS(ReopenCOTSServer) where non-const is expected.
    
    With both this patch & the libxtrans const patches, there are no warnings.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list