Skip to content

Commit c5e173c

Browse files
authored
Rescope extern C declaration to avoid compile errors (crosswire#1134)
1 parent f4e0558 commit c5e173c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/sword.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
#ifndef _SWORD_H__
2323
#define _SWORD_H__
2424

25-
#ifdef __cplusplus
26-
extern "C" {
27-
#endif
2825
#include <gtk/gtk.h>
2926
#include <glib/gi18n.h>
3027

28+
#ifdef __cplusplus
29+
extern "C" {
30+
#endif
3131
#include "main/configs.h"
3232

3333
/*** these defs need to be seen by gui and backend ***/

0 commit comments

Comments
 (0)