From 4781419a7b7c59c095e5ce0ec8d8f47233c38f7f Mon Sep 17 00:00:00 2001 From: Wan-Teh Chang Date: Tue, 6 Feb 2024 14:28:56 -0800 Subject: [PATCH] Do not include stdint.h if inttypes.h is included inttypes.h is documented to include stdint.h, so we can depend on that. https://en.wikibooks.org/wiki/C_Programming/inttypes.h https://cplusplus.com/reference/cinttypes/ https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/inttypes.h.html --- src/read.c | 1 - src/stream.c | 1 - tests/avifyuv.c | 1 - 3 files changed, 3 deletions(-) diff --git a/src/read.c b/src/read.c index 9c8e13f136..f09855c6de 100644 --- a/src/read.c +++ b/src/read.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #include diff --git a/src/stream.c b/src/stream.c index 3b61f9f39e..6a0617ddac 100644 --- a/src/stream.c +++ b/src/stream.c @@ -5,7 +5,6 @@ #include #include -#include #include #include diff --git a/tests/avifyuv.c b/tests/avifyuv.c index 6fe1618f4a..743f6740f3 100644 --- a/tests/avifyuv.c +++ b/tests/avifyuv.c @@ -4,7 +4,6 @@ #include "avif/avif.h" #include -#include #include #include #include