From 99afbcaf3739ec53353144eef46117c2a569baa0 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 26 Sep 2022 01:16:48 +0300 Subject: [PATCH 36/36] Make untargeted_revolution_allowed() callable from C++ See osdn #45722 Signed-off-by: Marko Lindqvist --- common/government.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/government.h b/common/government.h index 47f0321b22..1386c18fb5 100644 --- a/common/government.h +++ b/common/government.h @@ -130,10 +130,10 @@ struct iterator *government_iter_init(struct government_iter *it); } \ } governments_iterate_end; +bool untargeted_revolution_allowed(void); + #ifdef __cplusplus } #endif /* __cplusplus */ -bool untargeted_revolution_allowed(void); - -#endif /* FC__GOVERNMENT_H */ +#endif /* FC__GOVERNMENT_H */ -- 2.35.1