session.c: change "(foo*)" to "(foo *)"

This commit is contained in:
Johan Malm 2021-09-24 21:58:46 +01:00
parent ebb632419b
commit 104f635b43
2 changed files with 5 additions and 4 deletions

View file

@ -88,7 +88,7 @@ session_environment_init(void)
return;
}
read_environment_file(environment);
free((void*)environment);
free((void *)environment);
}
void
@ -110,5 +110,5 @@ session_autostart_init(void)
spawn_async_no_shell(cmd);
free(cmd);
out:
free((void*)autostart);
free((void *)autostart);
}

View file

@ -216,7 +216,8 @@ server_init(struct server *server)
exit(EXIT_FAILURE);
}
/* empirically, primary selection doesn't work with Gtk apps unless the
/*
* Empirically, primary selection doesn't work with Gtk apps unless the
* device manager is one of the earliest globals to be advertised. All
* credit to Wayfire for discovering this, though their symptoms
* (crash) are not the same as ours (silently does nothing). When adding