Removed static keyword from hndSIGWINCH to get rid of warning.