From: Youngjae Cho Date: Mon, 11 Mar 2024 02:51:03 +0000 (+0900) Subject: system-info-generated: Fix inclusion guard to __TIZEN_SYSTEM_SYSTEM_INFO_GENERATED_H__ X-Git-Tag: accepted/tizen/unified/20240328.043630~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F84%2F307484%2F1;p=platform%2Fcore%2Fapi%2Fsystem-info.git system-info-generated: Fix inclusion guard to __TIZEN_SYSTEM_SYSTEM_INFO_GENERATED_H__ Tizen native API recommends using guard phrase for inclusion in the form of __TIZEN____H__. Change-Id: Iec8eee92762670f0c3b569828cd03935463dea20 Signed-off-by: Youngjae Cho --- diff --git a/SystemInfoGenerator/SystemInfoGenerator.py b/SystemInfoGenerator/SystemInfoGenerator.py index 2703595..13865fa 100644 --- a/SystemInfoGenerator/SystemInfoGenerator.py +++ b/SystemInfoGenerator/SystemInfoGenerator.py @@ -36,10 +36,10 @@ class SystemInfoGenerator: @redirect_output('header') def generate_header(self): - bp.print_head(title='system-info-generated', guard='__SYSTEM_INFO_GENERATED_H__') + bp.print_head(title='system-info-generated', guard='__TIZEN_SYSTEM_SYSTEM_INFO_GENERATED_H__') bp.print_include(['system_info.h']) for enum in self._enums: enum.print_enum_declaration() for feature in self._features: feature.print_function(body=False) - bp.print_tail(guard='__SYSTEM_INFO_GENERATED_H__') + bp.print_tail(guard='__TIZEN_SYSTEM_SYSTEM_INFO_GENERATED_H__')