diff options
author | Bert Münnich <ber.t@posteo.de> | 2017-10-16 21:10:35 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2017-10-16 21:10:35 +0200 |
commit | 148026007cae3b97d39d2cfee7562c139eb486b2 (patch) | |
tree | 7cc8f8ffaaf7e34756b8550593f3e4999fd6490c /main.c | |
parent | 4af189e7d9851f56a5d42a1d42658e8e47320f90 (diff) | |
download | nsxiv-148026007cae3b97d39d2cfee7562c139eb486b2.tar.zst |
One header file for type definitions and function declarations
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 19 |
1 files changed, 4 insertions, 15 deletions
@@ -16,9 +16,11 @@ * along with sxiv. If not, see <http://www.gnu.org/licenses/>. */ +#include "sxiv.h" +#define _MAPPINGS_CONFIG +#include "config.h" + #include <stdlib.h> -#include <stdio.h> -#include <stdarg.h> #include <string.h> #include <fcntl.h> #include <unistd.h> @@ -26,24 +28,11 @@ #include <signal.h> #include <sys/select.h> #include <sys/stat.h> -#include <sys/time.h> #include <sys/wait.h> #include <time.h> #include <X11/keysym.h> #include <X11/XF86keysym.h> -#include "types.h" -#include "commands.h" -#include "image.h" -#include "options.h" -#include "thumbs.h" -#include "util.h" -#include "window.h" -#include "autoreload.h" - -#define _MAPPINGS_CONFIG -#include "config.h" - typedef struct { struct timeval when; bool active; |