From daf5f0c4cca45c6e1bd05f5f45e6c873a7c478b8 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Tue, 13 Aug 2024 15:17:19 +0200 Subject: [PATCH] make all member variables static --- src/ptk_vk/components.c | 2 +- src/ptk_vk/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ptk_vk/components.c b/src/ptk_vk/components.c index 9b56bf0..660c010 100644 --- a/src/ptk_vk/components.c +++ b/src/ptk_vk/components.c @@ -5,7 +5,7 @@ #include #include -PTK_LIST(PtkHandle) m_components; +static PTK_LIST(PtkHandle) m_components; PTK_LIST(Vertex) g_vertices; diff --git a/src/ptk_vk/init.c b/src/ptk_vk/init.c index 4b0d8ea..b19d24f 100644 --- a/src/ptk_vk/init.c +++ b/src/ptk_vk/init.c @@ -88,7 +88,7 @@ static const VkVertexInputBindingDescription m_vertex_binding_description = { .inputRate = VK_VERTEX_INPUT_RATE_VERTEX, }; -PTK_ARRAY(VkVertexInputAttributeDescription) m_vertex_attribute_descriptions = PTK_ARRAY_NEW(VkVertexInputAttributeDescription, { +static PTK_ARRAY(VkVertexInputAttributeDescription) m_vertex_attribute_descriptions = PTK_ARRAY_NEW(VkVertexInputAttributeDescription, { (VkVertexInputAttributeDescription){ .location = 0, .binding = 0,