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:
authorCampbell Barton <ideasman42@gmail.com>2015-11-26 00:50:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-26 00:50:35 +0300
commit2d52f65c60cf7e166f6cda9186fe1e89a201f9d6 (patch)
treeabc7e4f31b5dcf14bd2a08e140ca55c7cd369de0 /source/blender/blenlib/intern/BLI_linklist.c
parent532c8be9740d5aca31b8e47931465b54a41dac51 (diff)
Cleanup: use const for linklist API
Diffstat (limited to 'source/blender/blenlib/intern/BLI_linklist.c')
-rw-r--r--source/blender/blenlib/intern/BLI_linklist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_linklist.c b/source/blender/blenlib/intern/BLI_linklist.c
index 1da39967945..1500e23d72e 100644
--- a/source/blender/blenlib/intern/BLI_linklist.c
+++ b/source/blender/blenlib/intern/BLI_linklist.c
@@ -41,7 +41,7 @@
#include "BLI_strict_flags.h"
-int BLI_linklist_count(LinkNode *list)
+int BLI_linklist_count(const LinkNode *list)
{
int len;
@@ -51,7 +51,7 @@ int BLI_linklist_count(LinkNode *list)
return len;
}
-int BLI_linklist_index(LinkNode *list, void *ptr)
+int BLI_linklist_index(const LinkNode *list, void *ptr)
{
int index;