Utility to list X application resource database

  • Alan Coopersmith's avatar
    Use _CONST_X_STRING to make libXt declare String as const char * · 73e83582
    Alan Coopersmith authored
    Clears gcc 7.3 warnings of:
    
    appres.c: In function ‘main’:
    appres.c:36:16: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     #define NONAME "-AppResTest-"
                    ^
    appres.c:126:20: note: in expansion of macro ‘NONAME’
         String iname = NONAME, cname = NONAME;
                        ^~~~~~
    appres.c:36:16: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     #define NONAME "-AppResTest-"
                    ^
    appres.c:126:36: note: in expansion of macro ‘NONAME’
         String iname = NONAME, cname = NONAME;
                                        ^~~~~~
    Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
    73e83582
Name
Last commit
Last update
man Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
README.md Loading commit data...
appres.c Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...