C doesn't have any concept of default parameters, so you pretty much can't do that.
(Which is a lie-to-children, becuase you can, but it's horribly complicated and messy:
C default arguments - Stack Overflow[
^] - see BK's solution, which TBH is worse than the original problem from a maintenance POV).