Skip to content

Commit

Permalink
Rescope extern C declaration to avoid compile errors (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayBolt3 committed Oct 8, 2023
1 parent f4e0558 commit c5e173c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/sword.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
#ifndef _SWORD_H__
#define _SWORD_H__

#ifdef __cplusplus
extern "C" {
#endif
#include <gtk/gtk.h>
#include <glib/gi18n.h>

#ifdef __cplusplus
extern "C" {
#endif
#include "main/configs.h"

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

0 comments on commit c5e173c

Please sign in to comment.