Apply clang-format to commit d26ac60

This commit is contained in:
Marc Di Luzio
2018-04-16 17:46:32 +01:00
parent 5cca341ec2
commit 0e345d715d
3 changed files with 8 additions and 8 deletions

View File

@@ -36,12 +36,12 @@ POSSIBILITY OF SUCH DAMAGE.
#include "governors.h"
#include "logging.h"
#include <systemd/sd-daemon.h>
#include <linux/limits.h>
#include <pthread.h>
#include <signal.h>
#include <stdatomic.h>
#include <string.h>
#include <systemd/sd-daemon.h>
/**
* The GameModeClient encapsulates the remote connection, providing a list
@@ -162,7 +162,7 @@ void game_mode_context_destroy(GameModeContext *self)
static void game_mode_context_enter(GameModeContext *self)
{
LOG_MSG("Entering Game Mode...\n");
sd_notifyf(0,"STATUS=%sGameMode is now active.%s\n", "\x1B[1;32m", "\x1B[0m");
sd_notifyf(0, "STATUS=%sGameMode is now active.%s\n", "\x1B[1;32m", "\x1B[0m");
if (!self->performance_mode && set_governors("performance")) {
self->performance_mode = true;
@@ -178,8 +178,8 @@ static void game_mode_context_enter(GameModeContext *self)
static void game_mode_context_leave(GameModeContext *self)
{
LOG_MSG("Leaving Game Mode...\n");
sd_notifyf(0,"STATUS=%sGameMode is currently deactivated.%s\n", "\x1B[1;36m", "\x1B[0m");
sd_notifyf(0, "STATUS=%sGameMode is currently deactivated.%s\n", "\x1B[1;36m", "\x1B[0m");
if (self->performance_mode && set_governors(NULL)) {
self->performance_mode = false;
}