diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-10-09 12:59:31 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2007-07-28 18:34:22 -0400 |
commit | b47634e8aef5880528dd50baa53c93cd8e810ec2 (patch) | |
tree | 1799b6c0e8ae06752e31e1d1b23c5d567141373a /lib.c | |
parent | Make "Initializer entry defined twice" a warning, not an error (diff) | |
download | sparse-b47634e8aef5880528dd50baa53c93cd8e810ec2.tar.gz sparse-b47634e8aef5880528dd50baa53c93cd8e810ec2.tar.bz2 sparse-b47634e8aef5880528dd50baa53c93cd8e810ec2.zip |
[PATCH] add __builtin_strlen()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -571,6 +571,7 @@ void declare_builtin_functions(void) add_pre_buffer("extern __SIZE_TYPE__ __builtin_strspn(const char *, const char *);\n"); add_pre_buffer("extern __SIZE_TYPE__ __builtin_strcspn(const char *, const char *);\n"); add_pre_buffer("extern char * __builtin_strpbrk(const char *, const char *);\n"); + add_pre_buffer("extern __SIZE_TYPE__ __builtin_strlen(const char *);\n"); /* And some random ones.. */ add_pre_buffer("extern void *__builtin_return_address(unsigned int);\n"); |