Adding static to user functions