Skip to content

Commit 26e7bda

Browse files
committed
Correct declaration
1 parent 1a5590e commit 26e7bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/addfeatures/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
static char *progname; /* Program name */
2828
static cbCtx cbctx; /* Client callback context */
2929

30-
CTL_CDECL char *FDK_VERSION = "unknown"; // This variable lives here
30+
extern "C" char *FDK_VERSION = "unknown"; // This variable lives here
3131

3232
/* Conversion data */
3333
static struct {

0 commit comments

Comments
 (0)