Cleanup: move file-related function declarations to file.h

A number of architecture-dependent functions were declared in
dive.h. Move them to file.h so that not all file-manipulating
translation units have to include dive.h. This is a small step
in avoiding mass-recompilation on every change to dive.h

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-08-05 20:07:10 +02:00 committed by Dirk Hohndel
parent 5da09a21bb
commit 594d1d3514
18 changed files with 45 additions and 23 deletions

View file

@ -2,6 +2,7 @@
/* implements Android specific functions */
#include "dive.h"
#include "display.h"
#include "file.h"
#include "qthelper.h"
#include <string.h>
#include <sys/types.h>
@ -10,6 +11,7 @@
#include <libusb.h>
#include <errno.h>
#include <unistd.h>
#include <zip.h>
#include <QtAndroidExtras/QtAndroidExtras>
#include <QtAndroidExtras/QAndroidJniObject>