subsurface/subsurfacestartup.h
Anton Lundin da154222cc Free strduped prefs before exit
This plugs a leak detected by valgrind.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-18 07:20:10 -08:00

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