Update clang-format

This commit is contained in:
Utkarsh Verma
2023-04-06 06:18:16 +05:30
parent a9f7763596
commit 2773129533
10 changed files with 31 additions and 25 deletions

View File

@@ -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"

View File

@@ -47,7 +47,9 @@ void signalHandler() {
}
}
void termHandler() { statusContinue = 0; }
void termHandler() {
statusContinue = 0;
}
void setupSignals() {
sigset_t handledSignals;

View File

@@ -1,5 +1,7 @@
#include "util.h"
#include <unistd.h>
int gcd(int a, int b) {
int temp;
while (b > 0) {

View File

@@ -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);