Something
public c v1 · immutablevoid end_game(int level){ save_score(level); show_highscore();#ifdef __SDL__ Mix_CloseAudio(); SDL_Quit();#endif int foo; foo = endwin(); exit(foo); /* obviously not planning to leave foo here if I commit any changes */}