MAINT: signal: clean up some C code to eliminate a few compiler warnings
Merge pull request #485 from WarrenWeckesser/sig-gcc-warnings

MAINT: signal: clean up some C code to eliminate a few compiler warnings