Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
// callable from outside code
int myfunc(int a, int b) {

if ((a < 0) \|\| (b < 0)) return \-1;

return myfunc_internal(a, b);

}

// callable only from my code - can assume sanitized parameters
int myfunc_internal(int a, int b)
{ ... }