From 35f081ba2bbe21fb2423dcd85605332f91b82d56 Mon Sep 17 00:00:00 2001 From: Taeyoung Kim Date: Thu, 28 Apr 2016 15:54:36 +0900 Subject: [PATCH] external: add function to get type - If a storage is not the one of internal storages, it is external storage. Change-Id: Idd2e4bac3c398c91ccb0f3b2891a143c9fa95100 Signed-off-by: Taeyoung Kim --- src/storage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage.c b/src/storage.c index 3e372a8..7f56f52 100644 --- a/src/storage.c +++ b/src/storage.c @@ -198,6 +198,7 @@ API int storage_get_type(int storage_id, storage_type_e *type) } /* external storage */ + *type = STORAGE_TYPE_EXTERNAL; return STORAGE_ERROR_NONE; } -- 2.7.4