• Alan Coopersmith's avatar
    Fix GCC_UNUSED definition to actually work with -Wunused-parameter · 09f4907e
    Alan Coopersmith authored
    Silences warnings of:
    charset.c: In function ‘IdentityRecode’:
    charset.c:42:51: warning: unused parameter ‘self’ [-Wunused-parameter]
    charset.c: In function ‘NullReverse’:
    charset.c:84:26: warning: unused parameter ‘n’ [-Wunused-parameter]
    charset.c:84:59: warning: unused parameter ‘self’ [-Wunused-parameter]
    other.c: In function ‘mapping_utf8’:
    other.c:108:44: warning: unused parameter ‘s’ [-Wunused-parameter]
    other.c: In function ‘reverse_utf8’:
    other.c:114:44: warning: unused parameter ‘s’ [-Wunused-parameter]
    luit.c: In function ‘sigwinchHandler’:
    luit.c:463:21: warning: unused parameter ‘sig’ [-Wunused-parameter]
    luit.c: In function ‘sigchldHandler’:
    luit.c:470:20: warning: unused parameter ‘sig’ [-Wunused-parameter]
    luit.c: In function ‘parent’:
    luit.c:657:12: warning: unused parameter ‘pid’ [-Wunused-parameter]
    Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
    09f4907e
other.h 3.24 KB