diff --git a/openharmony/bundle_mgr_helper/vk_bundle_mgr_helper.cpp b/openharmony/bundle_mgr_helper/vk_bundle_mgr_helper.cpp index ef4fbcc059c520865dabb279a608db48f6135fd9..6d2123a7fef8f9846744d682a831acc5575ab5bb 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 15f551b0d65722afc36573cf7ed7d8e011c02544..20bb67e842d8d581f16e55b405956c3e1b6c6fbf 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