wattr: added a check for ignored windows
ignw: fixed functions prototypes