Update clang-format
This commit is contained in:
parent
a9f7763596
commit
2773129533
10 changed files with 31 additions and 25 deletions
|
|
@ -1,8 +1,10 @@
|
|||
#include "block.h"
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "util.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,9 @@ void signalHandler() {
|
|||
}
|
||||
}
|
||||
|
||||
void termHandler() { statusContinue = 0; }
|
||||
void termHandler() {
|
||||
statusContinue = 0;
|
||||
}
|
||||
|
||||
void setupSignals() {
|
||||
sigset_t handledSignals;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#include "util.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
int gcd(int a, int b) {
|
||||
int temp;
|
||||
while (b > 0) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,9 @@ int setupX() {
|
|||
return 0;
|
||||
}
|
||||
|
||||
int closeX() { return XCloseDisplay(display); }
|
||||
int closeX() {
|
||||
return XCloseDisplay(display);
|
||||
}
|
||||
|
||||
void setXRootName(char *str) {
|
||||
XStoreName(display, rootWindow, str);
|
||||
|
|
|
|||
Loading…
Reference in a new issue