mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-07 08:07:20 +02:00
fixed to match clang-format
This commit is contained in:
parent
3cabf9859d
commit
a9042199c6
@ -38,7 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include "common-cpu.h"
|
#include "common-cpu.h"
|
||||||
#include "common-logging.h"
|
#include "common-logging.h"
|
||||||
|
|
||||||
static int write_state (char *path, int state)
|
static int write_state(char *path, int state)
|
||||||
{
|
{
|
||||||
FILE *f = fopen(path, "w");
|
FILE *f = fopen(path, "w");
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ static int write_state (char *path, int state)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void log_state (const int state, const long first, const long last)
|
static void log_state(const int state, const long first, const long last)
|
||||||
{
|
{
|
||||||
if (state == '0') {
|
if (state == '0') {
|
||||||
if (first == last)
|
if (first == last)
|
||||||
@ -72,7 +72,7 @@ static void log_state (const int state, const long first, const long last)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int set_state (char *cpulist, int state)
|
static int set_state(char *cpulist, int state)
|
||||||
{
|
{
|
||||||
char path[PATH_MAX];
|
char path[PATH_MAX];
|
||||||
long from, to;
|
long from, to;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user