Delete a couple unused variables.

Use static prefix for all function declarations as nothing is
exported.