changed function signature to stop gcc from moaning
drwxr-xr-x - ir