gcc reports "comparison between signed and unsigned". One header file uses unsigned long for tty flags, another uses [signed] short. 'unsigned' seems like the best compromise, but this might accidentally introduce lint for some other configuration.