Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/makesrna/intern/rna_packedfile.c')
-rw-r--r--source/blender/makesrna/intern/rna_packedfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_packedfile.c b/source/blender/makesrna/intern/rna_packedfile.c
index d0c0ed25d22..34810e8a91b 100644
--- a/source/blender/makesrna/intern/rna_packedfile.c
+++ b/source/blender/makesrna/intern/rna_packedfile.c
@@ -45,14 +45,14 @@ EnumPropertyItem unpack_method_items[] = {
#ifdef RNA_RUNTIME
-void rna_PackedImage_data_get(PointerRNA *ptr, char *value)
+static void rna_PackedImage_data_get(PointerRNA *ptr, char *value)
{
PackedFile *pf = (PackedFile *)ptr->data;
memcpy(value, pf->data, (size_t)pf->size);
value[pf->size] = '\0';
}
-int rna_PackedImage_data_len(PointerRNA *ptr)
+static int rna_PackedImage_data_len(PointerRNA *ptr)
{
PackedFile *pf = (PackedFile *)ptr->data;
return pf->size; /* No need to include trailing NULL char here! */