Fix safe* function definitions (static declarations without defaults)