core: make picture.h compatible with C++

The "extern C {" guards were missing.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-04-11 17:30:34 +02:00 committed by Dirk Hohndel
parent 2c4975f2ed
commit 282041e228

View file

@ -5,6 +5,10 @@
// picture (more precisely media) related strutures and functions
#include "units.h"
#ifdef __cplusplus
extern "C" {
#endif
struct picture {
char *filename;
offset_t offset;
@ -15,4 +19,8 @@ struct picture {
extern struct picture *alloc_picture();
extern void free_picture(struct picture *picture);
#ifdef __cplusplus
}
#endif
#endif // PICTURE_H