This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository legacy-imlib2.
View the commit online.
commit 87bcf92524e1a5573076e18f302b4abcc4c321fc
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Mon Sep 26 15:59:25 2022 +0200
Includes tweaks
- Drop unneeded errno.h includes.
- Include stdarg.h only where needed.
---
src/lib/api.c | 1 -
src/lib/api_filter.c | 1 +
src/lib/dynamic_filters.c | 2 --
src/lib/script.c | 1 -
test/test_load.cpp | 1 -
5 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/lib/api.c b/src/lib/api.c
index d89f9e9..cd46895 100644
--- a/src/lib/api.c
+++ b/src/lib/api.c
@@ -4,7 +4,6 @@
#include <errno.h>
#include <math.h>
-#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
diff --git a/src/lib/api_filter.c b/src/lib/api_filter.c
index 9d81d6d..a225ce2 100644
--- a/src/lib/api_filter.c
+++ b/src/lib/api_filter.c
@@ -2,6 +2,7 @@
#include <Imlib2.h>
#include "common.h"
+#include <stdarg.h>
#include <stdio.h>
#include "api.h"
diff --git a/src/lib/dynamic_filters.c b/src/lib/dynamic_filters.c
index ea7ad24..45be908 100644
--- a/src/lib/dynamic_filters.c
+++ b/src/lib/dynamic_filters.c
@@ -2,9 +2,7 @@
#include <ctype.h>
#include <dlfcn.h>
-#include <errno.h>
#include <fcntl.h>
-#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/lib/script.c b/src/lib/script.c
index 573b369..06f9498 100644
--- a/src/lib/script.c
+++ b/src/lib/script.c
@@ -3,7 +3,6 @@
#include "common.h"
#include <ctype.h>
-#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
diff --git a/test/test_load.cpp b/test/test_load.cpp
index b6417cd..f8fde9f 100644
--- a/test/test_load.cpp
+++ b/test/test_load.cpp
@@ -4,7 +4,6 @@
#define IMLIB2_DEPRECATED // Suppress deprecation warnings
#include <Imlib2.h>
-#include <errno.h>
#include <fcntl.h>
#include <sys/mman.h>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.