diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-12 03:42:54 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-12 04:51:11 +0300 |
commit | 0dc309bef636e4da8ee3dad97eb8b27562138701 (patch) | |
tree | 936e74f248acbdbc4a62599fd06387954be369df /source/blender/blenlib/BLI_stack.h | |
parent | f4492629ea0e5018412d5634c7be898a09af8bf0 (diff) |
Cleanup: remove redundant const qualifiers for POD types
Diffstat (limited to 'source/blender/blenlib/BLI_stack.h')
-rw-r--r-- | source/blender/blenlib/BLI_stack.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_stack.h b/source/blender/blenlib/BLI_stack.h index 653f5f61c9e..eb4e69a42d4 100644 --- a/source/blender/blenlib/BLI_stack.h +++ b/source/blender/blenlib/BLI_stack.h @@ -28,13 +28,13 @@ extern "C" { typedef struct BLI_Stack BLI_Stack; -BLI_Stack *BLI_stack_new_ex(const size_t elem_size, +BLI_Stack *BLI_stack_new_ex(size_t elem_size, const char *description, - const size_t chunk_size) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); + size_t chunk_size) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); /** * Create a new homogeneous stack with elements of 'elem_size' bytes. */ -BLI_Stack *BLI_stack_new(const size_t elem_size, const char *description) ATTR_WARN_UNUSED_RESULT +BLI_Stack *BLI_stack_new(size_t elem_size, const char *description) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); /** |