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/blenlib/intern/string.c')
-rw-r--r--source/blender/blenlib/intern/string.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c
index 8485a0c975b..843f6b62735 100644
--- a/source/blender/blenlib/intern/string.c
+++ b/source/blender/blenlib/intern/string.c
@@ -100,10 +100,13 @@ char *BLI_sprintfN(const char *format, ...)
return n;
}
-int BLI_streq(char *a, char *b) {
+int BLI_streq(const char *a, const char *b)
+{
return (strcmp(a, b)==0);
}
-int BLI_strcaseeq(char *a, char *b) {
+
+int BLI_strcaseeq(const char *a, const char *b)
+{
return (BLI_strcasecmp(a, b)==0);
}