mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
da154222cc
This plugs a leak detected by valgrind. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
24 lines
369 B
C
24 lines
369 B
C
#ifndef SUBSURFACESTARTUP_H
|
|
#define SUBSURFACESTARTUP_H
|
|
|
|
#include "dive.h"
|
|
#include "divelist.h"
|
|
#include "libdivecomputer.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#else
|
|
#include <stdbool.h>
|
|
#endif
|
|
|
|
extern bool imported;
|
|
|
|
void setup_system_prefs(void);
|
|
void parse_argument(const char *arg);
|
|
void free_prefs(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // SUBSURFACESTARTUP_H
|