Move code only used for Wine detection into wine file

This commit is contained in:
Marc Di Luzio
2019-05-22 17:18:23 +01:00
parent 2bca1fb04e
commit 41988b7f1c
4 changed files with 81 additions and 171 deletions

View File

@ -116,13 +116,6 @@ GameModeConfig *game_mode_config_from_context(const GameModeContext *context);
*/
int game_mode_reload_config(GameModeContext *context);
/** gamemode-env.c
* Provides internal API functions specific to working environment
* variables.
*/
char *game_mode_lookup_proc_env(const procfd_t proc_fd, const char *var);
char *game_mode_lookup_user_home(void);
/** gamemode-ioprio.c
* Provides internal API functions specific to adjusting process
* IO priorities.
@ -130,13 +123,6 @@ char *game_mode_lookup_user_home(void);
int game_mode_get_ioprio(const pid_t client);
void game_mode_apply_ioprio(const GameModeContext *self, const pid_t client, int expected);
/** gamemode-proc.c
* Provides internal API functions specific to working with process
* environments.
*/
procfd_t game_mode_open_proc(const pid_t pid);
int game_mode_close_proc(const procfd_t procfd);
/** gamemode-sched.c
* Provides internal API functions specific to adjusting process
* scheduling.