diff --git a/src/k_profiles.cpp b/src/k_profiles.cpp index ea3079261..55abd3bc8 100644 --- a/src/k_profiles.cpp +++ b/src/k_profiles.cpp @@ -33,9 +33,11 @@ #include "k_color.h" #include "command.h" -extern "C" consvar_t cv_dummyprofilefov, cv_fov[MAXSPLITSCREENPLAYERS]; +extern "C" { +extern consvar_t cv_dummyprofilefov, cv_fov[MAXSPLITSCREENPLAYERS]; -extern "C" CV_PossibleValue_t lastprofile_cons_t[] = {{-1, "MIN"}, {MAXPROFILES, "MAX"}, {0, NULL}}; +CV_PossibleValue_t lastprofile_cons_t[] = {{-1, "MIN"}, {MAXPROFILES, "MAX"}, {0, NULL}}; +} // List of all the profiles. static profile_t *profilesList[MAXPROFILES+1]; // +1 because we're gonna add a default "GUEST' profile.