Includes tweaks

- Drop unneeded errno.h includes.
- Include stdarg.h only where needed.
This commit is contained in:
Kim Woelders 2022-09-26 15:59:25 +02:00
parent 0c687ee837
commit 87bcf92524
5 changed files with 1 additions and 5 deletions

View File

@ -4,7 +4,6 @@
#include <errno.h>
#include <math.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>

View File

@ -2,6 +2,7 @@
#include <Imlib2.h>
#include "common.h"
#include <stdarg.h>
#include <stdio.h>
#include "api.h"

View File

@ -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>

View File

@ -3,7 +3,6 @@
#include "common.h"
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>

View File

@ -4,7 +4,6 @@
#define IMLIB2_DEPRECATED // Suppress deprecation warnings
#include <Imlib2.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/mman.h>