soveran / clac

Command-line, stack-based calculator with postfix notation
BSD 2-Clause "Simplified" License
356 stars 30 forks source link

Make local variables and function static #2

Closed link2xt closed 7 years ago

soveran commented 7 years ago

@ilabdsf Thanks for checking the project! Is there a reason why you didn't declare push as static? Also, given that this is a standalone program and not a library, should we explain a bit in the commit the rationale of this change? (For example, we could mention that with this change the compiler can optimize the code, etc.). Thanks!