diff options
Diffstat (limited to 'source/blender/blenlib/BLI_linklist.h')
-rw-r--r-- | source/blender/blenlib/BLI_linklist.h | 4 |
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; |