aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.clang-tidy4
-rw-r--r--src/x11.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 29f7e2e..981e098 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -4,10 +4,6 @@ Checks: >
-*magic-numbers,
-altera*,
-bugprone-easily-swappable-parameters,
- -bugprone-reserved-identifier,
- -cert-dcl37-c,
- -cert-dcl51-cpp,
- -cert-flp30-c,
-hicpp-multiway-paths-covered,
-hicpp-signed-bitwise,
-llvm-header-guard,
diff --git a/src/x11.c b/src/x11.c
index 8a072be..039c411 100644
--- a/src/x11.c
+++ b/src/x11.c
@@ -3,10 +3,6 @@
// Copyright 2011-2012 Ben Loftis, Harrison Consoles
// SPDX-License-Identifier: ISC
-#ifndef _POSIX_C_SOURCE
-# define _POSIX_C_SOURCE 199309L
-#endif
-
#include "x11.h"
#include "attributes.h"