Make internal functions static in the test code.

To avoid warnings when building with -Wmissing-prototypes.
2 files changed