XQuartz: Fix "warning: function declaration isn’t a prototype" noise

(cherry picked from commit 9a77905a97)
This commit is contained in:
Jeremy Huddleston 2009-09-05 14:04:53 -07:00
parent 7ece2cb220
commit 081f72390a

View File

@ -449,7 +449,7 @@ static void ensure_path(const char *dir) {
}
}
static void setup_env() {
static void setup_env(void) {
char *temp;
const char *pds = NULL;
const char *disp = getenv("DISPLAY");