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/BLI_linklist.h
parent532c8be9740d5aca31b8e47931465b54a41dac51 (diff)
Cleanup: use const for linklist API
Diffstat (limited to 'source/blender/blenlib/BLI_linklist.h')
-rw-r--r--source/blender/blenlib/BLI_linklist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_linklist.h b/source/blender/blenlib/BLI_linklist.h
index 67cb30e8d17..00d757bdf9d 100644
--- a/source/blender/blenlib/BLI_linklist.h
+++ b/source/blender/blenlib/BLI_linklist.h
@@ -58,8 +58,8 @@ typedef struct LinkNodePair {
LinkNode *list, *last_node;
} LinkNodePair;
-int BLI_linklist_count(LinkNode *list) ATTR_WARN_UNUSED_RESULT;
-int BLI_linklist_index(LinkNode *list, void *ptr) ATTR_WARN_UNUSED_RESULT;
+int BLI_linklist_count(const LinkNode *list) ATTR_WARN_UNUSED_RESULT;
+int BLI_linklist_index(const LinkNode *list, void *ptr) ATTR_WARN_UNUSED_RESULT;
LinkNode *BLI_linklist_find(LinkNode *list, int index) ATTR_WARN_UNUSED_RESULT;