diff --git a/openharmony/bundle_mgr_helper/vk_bundle_mgr_helper.cpp b/openharmony/bundle_mgr_helper/vk_bundle_mgr_helper.cpp index ef4fbcc0..6d2123a7 100644 --- a/openharmony/bundle_mgr_helper/vk_bundle_mgr_helper.cpp +++ b/openharmony/bundle_mgr_helper/vk_bundle_mgr_helper.cpp @@ -21,7 +21,8 @@ #define EOK 0 extern "C" { - void *loader_instance_heap_calloc(const struct loader_instance *instance, size_t size, VkSystemAllocationScope allocation_scope); + void *loader_instance_heap_calloc(const struct loader_instance *instance, + size_t size, VkSystemAllocationScope allocation_scope); } constexpr const char *DEBUG_SANDBOX_DIR = "/data/storage/el1/bundle/"; diff --git a/openharmony/bundle_mgr_helper/vk_bundle_mgr_helper.h b/openharmony/bundle_mgr_helper/vk_bundle_mgr_helper.h index 15f551b0..20bb67e8 100644 --- a/openharmony/bundle_mgr_helper/vk_bundle_mgr_helper.h +++ b/openharmony/bundle_mgr_helper/vk_bundle_mgr_helper.h @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#ifndef VK_BUNDLE_MGR_HELPER_H +#define VK_BUNDLE_MGR_HELPER_H + #include "vulkan/vulkan_core.h" #ifdef __cplusplus #include @@ -60,4 +63,5 @@ private: }; } } -#endif // __cplusplus \ No newline at end of file +#endif // __cplusplus +#endif \ No newline at end of file