Skip to content

Commit

Permalink
Rescope extern C declaration to avoid compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayBolt3 committed Oct 8, 2023
1 parent f4e0558 commit 9dbe540
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 9dbe540

Please sign in to comment.