Mesa (main): include: remove needless c99_compat.h includes

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 2 13:50:05 UTC 2022


Module: Mesa
Branch: main
Commit: 9633b426724e48f073f55ecfb6e0f41c584a0f16
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9633b426724e48f073f55ecfb6e0f41c584a0f16

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Jun  1 14:21:31 2022 +0200

include: remove needless c99_compat.h includes

Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16812>

---

 include/c11/threads.h | 2 --
 include/c99_math.h    | 1 -
 2 files changed, 3 deletions(-)

diff --git a/include/c11/threads.h b/include/c11/threads.h
index 790f52cb49f..81f4b9b7c09 100644
--- a/include/c11/threads.h
+++ b/include/c11/threads.h
@@ -35,8 +35,6 @@
 #define TIME_UTC 1
 #endif
 
-#include "c99_compat.h" /* for `inline` */
-
 /*---------------------------- types ----------------------------*/
 typedef void (*tss_dtor_t)(void*);
 typedef int (*thrd_start_t)(void*);
diff --git a/include/c99_math.h b/include/c99_math.h
index e906c26aa54..439a27fd61a 100644
--- a/include/c99_math.h
+++ b/include/c99_math.h
@@ -35,7 +35,6 @@
 #define _C99_MATH_H_
 
 #include <math.h>
-#include "c99_compat.h"
 
 
 /* This is to ensure that we get M_PI, etc. definitions */



More information about the mesa-commit mailing list