Cleanup: move declaration of get_stylesheet() to qthelper.h

The function is defined in qthelper.c and thus not all users
of dive.h have to suck in the xslt headers.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-03-03 22:55:18 +01:00 committed by Dirk Hohndel
parent 25234c0513
commit f2cdca7bcc
4 changed files with 5 additions and 4 deletions

View file

@ -13,8 +13,6 @@
#include <string.h>
#include <sys/stat.h>
#include "divesite.h"
#include <libxslt/transform.h>
#include <libxslt/xsltutils.h>
#include "units.h"
@ -507,8 +505,6 @@ extern bool subsurface_user_is_root(void);
extern timestamp_t get_times();
extern xsltStylesheetPtr get_stylesheet(const char *name);
extern timestamp_t utc_mktime(struct tm *tm);
extern void utc_mkdate(timestamp_t, struct tm *tm);