code-style: cleanup includes

* rm unused include <sys/types.h>
* move <sys/time.h> to main.c, it's the only file that needs it.
* move TV_* macros to main.c
* let *.c files explicitly include what they need instead of including
  them at nsxiv.h
This commit is contained in:
NRK
2022-05-31 17:25:14 +06:00
committed by Gitea
parent 86a83c1ec5
commit 6d5a04005d
7 changed files with 16 additions and 16 deletions

View File

@ -26,7 +26,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#if HAVE_LIBEXIF