Skip to content

Commit

Permalink
move ltl2ba_version() into extern "C" block
Browse files Browse the repository at this point in the history
  • Loading branch information
fbrausse committed Apr 19, 2024
1 parent db2cf98 commit 75e9a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/ltl2ba.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
#define LTL2BA_VERSION_MAJOR 2
#define LTL2BA_VERSION_MINOR 1

const char * ltl2ba_version(void);

/* LTL2BA_EMPTY_SET is passed to make_set() to create empty */
#define LTL2BA_EMPTY_SET (-1)
#define LTL2BA_SET_SIZE(n) (n / (8 * sizeof(int)) + 1)
Expand All @@ -28,6 +26,8 @@ const char * ltl2ba_version(void);
extern "C" {
#endif

const char * ltl2ba_version(void);

typedef struct ltl2ba_Symbol {
char *name;
struct ltl2ba_Symbol *next; /* linked list, symbol table */
Expand Down

0 comments on commit 75e9a13

Please sign in to comment.