One header file for type definitions and function declarations

This commit is contained in:
Bert Münnich
2017-10-16 21:10:35 +02:00
parent 4af189e7d9
commit 148026007c
18 changed files with 484 additions and 688 deletions

19
main.c
View File

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