summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2017-10-16 21:10:35 +0200
committerBert Münnich <ber.t@posteo.de>2017-10-16 21:10:35 +0200
commit148026007cae3b97d39d2cfee7562c139eb486b2 (patch)
tree7cc8f8ffaaf7e34756b8550593f3e4999fd6490c /commands.c
parent4af189e7d9851f56a5d42a1d42658e8e47320f90 (diff)
downloadnsxiv-148026007cae3b97d39d2cfee7562c139eb486b2.tar.zst
One header file for type definitions and function declarations
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/commands.c b/commands.c
index 6c5fb1a..966ee4c 100644
--- a/commands.c
+++ b/commands.c
@@ -16,20 +16,15 @@
* along with sxiv. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "sxiv.h"
+#define _IMAGE_CONFIG
+#include "config.h"
+
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>
-#include "commands.h"
-#include "image.h"
-#include "options.h"
-#include "thumbs.h"
-#include "util.h"
-
-#define _IMAGE_CONFIG
-#include "config.h"
-
void remove_file(int, bool);
void load_image(int);
void open_info(void);