Make reload_config static.
Make lock_path and lock_fd static.
Make yyein static.