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>2010-05-08 19:37:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-05-08 19:37:29 +0400
commit9c1a9d93792ae1edfa384f5672473b288d170024 (patch)
tree93ff25ff61c0d67905a161bb380496abb732da75 /source/blender/blenlib/BLI_string.h
parentd906d8ce3a1e93b95852b13b67783480b338a28a (diff)
revert own commit 28662.
strnlen is a GNU extension according to http://unixpapa.com/incnote/string.html
Diffstat (limited to 'source/blender/blenlib/BLI_string.h')
-rw-r--r--source/blender/blenlib/BLI_string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h
index c722ffb1693..39123a438df 100644
--- a/source/blender/blenlib/BLI_string.h
+++ b/source/blender/blenlib/BLI_string.h
@@ -128,6 +128,7 @@ char *BLI_strcasestr(const char *s, const char *find);
int BLI_strcasecmp(const char *s1, const char *s2);
int BLI_strncasecmp(const char *s1, const char *s2, int n);
int BLI_natstrcmp(const char *s1, const char *s2);
+size_t BLI_strnlen(const char *str, size_t maxlen);
void BLI_timestr(double _time, char *str); /* time var is global */