This seems to be missing static, same for the function below.