Mark the scan_* functions as static

Make scan_plugin_dir() & scan_procfs() static. While there is only the
one C file, this is technically correct.

Signed-off-by: Andrew Clayton <andrew@digital-domain.net>