loader: Put static function prototypes in .c
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Mon, 1 Jun 2015 20:09:34 +0000 (14:09 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 18 Jun 2015 16:18:19 +0000 (10:18 -0600)
loader/loader.c
loader/loader.h

index b55ddcf86390450d0c8e1ead1c61925d865cccdd..680f293286f76d4b02dfc4fa497fbef341701217 100644 (file)
@@ -56,6 +56,14 @@ void loader_add_to_ext_list(
         uint32_t prop_list_count,
         const struct loader_extension_property *prop_list);
 
+static loader_platform_dl_handle loader_add_layer_lib(
+        const char *chain_type,
+        struct loader_extension_property *ext_prop);
+
+static void loader_remove_layer_lib(
+        struct loader_instance *inst,
+        struct loader_extension_property *ext_prop);
+
 static void loader_deactivate_instance_layers(struct loader_instance *instance);
 
 /* TODO: do we need to lock around access to linked lists and such? */
index 2d3b067a81699be804ab83454d60c87f77c6e640..e2befdc4e9042157507a6272317f9089ea07898d 100644 (file)
@@ -347,13 +347,6 @@ void loader_icd_scan(void);
 void layer_lib_scan(void);
 void loader_coalesce_extensions(void);
 
-static loader_platform_dl_handle loader_add_layer_lib(
-        const char *chain_type,
-        struct loader_extension_property *ext_prop);
-static void loader_remove_layer_lib(
-        struct loader_instance *inst,
-        struct loader_extension_property *ext_prop);
-
 struct loader_icd * loader_get_icd(const VkBaseLayerObject *gpu,
                                    uint32_t *gpu_index);
 uint32_t loader_activate_instance_layers(struct loader_instance *inst);