From 0c50a688c8681647cb69300ef6131c585e2692ad Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 15 Nov 2012 16:10:55 +0100 Subject: [PATCH] Put forward declaration of static function in c file, not in header. --- src/surf/storage.c | 1 + src/surf/storage_private.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/surf/storage.c b/src/surf/storage.c index 268f141837..5dd92c0c1e 100644 --- a/src/surf/storage.c +++ b/src/surf/storage.c @@ -36,6 +36,7 @@ static xbt_dynar_t storage_list; #define GENERIC_ACTION(action) GENERIC_LMM_ACTION(action).generic_action static xbt_dict_t parse_storage_content(char *filename, unsigned long *used_size); +static int storage_action_unref(surf_action_t action); static void storage_action_state_set(surf_action_t action, e_surf_action_state_t state); static surf_action_t storage_action_execute (void *storage, double size, e_surf_action_storage_type_t type); static void free_storage_content(void *p); diff --git a/src/surf/storage_private.h b/src/surf/storage_private.h index e41cde0e18..c62f265fe8 100644 --- a/src/surf/storage_private.h +++ b/src/surf/storage_private.h @@ -54,6 +54,4 @@ typedef struct surf_action_storage { void *storage; } s_surf_action_storage_t, *surf_action_storage_t; -static int storage_action_unref(surf_action_t action); - #endif /* STORAGE_PRIVATE_H_ */ -- 2.20.1