aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.clang-tidy2
-rw-r--r--src/serdi.c2
-rw-r--r--src/system.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 44d02929..b7fff31a 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -7,8 +7,6 @@ Checks: >
-bugprone-easily-swappable-parameters,
-bugprone-reserved-identifier,
-bugprone-suspicious-string-compare,
- -cert-dcl37-c,
- -cert-dcl51-cpp,
-cert-err33-c,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-concurrency-mt-unsafe,
diff --git a/src/serdi.c b/src/serdi.c
index bbeffa2b..7f57dc5f 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _POSIX_C_SOURCE 200809L /* for fileno and posix_fadvise */
-
#include "serd_config.h"
#include "string_utils.h"
diff --git a/src/system.c b/src/system.c
index f706902d..c3e31912 100644
--- a/src/system.c
+++ b/src/system.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define _POSIX_C_SOURCE 200809L /* for posix_memalign and posix_fadvise */
-
#include "system.h"
#include "serd_config.h"