summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/lib/codeclib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/lib/codeclib.h')
-rw-r--r--lib/rbcodec/codecs/lib/codeclib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/lib/codeclib.h b/lib/rbcodec/codecs/lib/codeclib.h
index 18c1043b8c..6a18870898 100644
--- a/lib/rbcodec/codecs/lib/codeclib.h
+++ b/lib/rbcodec/codecs/lib/codeclib.h
@@ -40,6 +40,7 @@ extern struct codec_api *ci;
40#define free(x) codec_free(x) 40#define free(x) codec_free(x)
41#undef alloca 41#undef alloca
42#define alloca(x) __builtin_alloca(x) 42#define alloca(x) __builtin_alloca(x)
43#define strlen(s) codec_strlen(s)
43 44
44void* codec_malloc(size_t size); 45void* codec_malloc(size_t size);
45void* codec_calloc(size_t nmemb, size_t size); 46void* codec_calloc(size_t nmemb, size_t size);
@@ -51,7 +52,7 @@ void *memset(void *s, int c, size_t n);
51int memcmp(const void *s1, const void *s2, size_t n); 52int memcmp(const void *s1, const void *s2, size_t n);
52void *memmove(void *s1, const void *s2, size_t n); 53void *memmove(void *s1, const void *s2, size_t n);
53 54
54size_t strlen(const char *s); 55size_t codec_strlen(const char *s);
55char *strcpy(char *dest, const char *src); 56char *strcpy(char *dest, const char *src);
56char *strcat(char *dest, const char *src); 57char *strcat(char *dest, const char *src);
57 58