diff --git a/tools/symbols_map_generator.py b/tools/symbols_map_generator.py index 651d16b4b2..843f0a5f73 100755 --- a/tools/symbols_map_generator.py +++ b/tools/symbols_map_generator.py @@ -380,11 +380,11 @@ def main(): joint_str = "\n ".join(symbols) output_str = f'''{version_str} {"{"} - global: - extern "C++" {"{"} - {joint_str} - {'};'} - local: *; +global: + extern "C++" {"{"} + {joint_str} + {'};'} +local: *; {closing_line} '''