[PATCH] env: make file-scope env_ptr variables static