subsurface/subsurfacestartup.h
Anton Lundin 6014461181 Don't include stdbool.h when included from C++
As noted by Thiago Macieira, we shouldn't include stdbool.h when were
included from a C++-file such as main.cpp

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-01-17 05:55:01 +07:00

23 lines
323 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);
#ifdef __cplusplus
}
#endif
#endif