net.c: add missing static.

Pointed out during code review of the recent refactor.
1 file changed