aboutsummaryrefslogtreecommitdiffstats
path: root/util.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 /util.c
parent4af189e7d9851f56a5d42a1d42658e8e47320f90 (diff)
downloadnsxiv-148026007cae3b97d39d2cfee7562c139eb486b2.tar.zst
One header file for type definitions and function declarations
Diffstat (limited to 'util.c')
-rw-r--r--util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/util.c b/util.c
index 395a345..6a236c6 100644
--- a/util.c
+++ b/util.c
@@ -16,6 +16,8 @@
* along with sxiv. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "sxiv.h"
+
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
@@ -23,9 +25,6 @@
#include <unistd.h>
#include <errno.h>
-#include "options.h"
-#include "util.h"
-
const char *progname;
void* emalloc(size_t size)