diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-05-22 18:11:48 -0700 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-05-22 18:11:48 -0700 |
commit | c2faf37219b145763c00ac6364597fab0dbfc17e (patch) | |
tree | 20682f4828109002eb1eaadf7d19a28c393dc893 /lib.c | |
parent | Add -Wno-non-pointer-null to turn off warning about using a plain integer as ... (diff) | |
download | sparse-c2faf37219b145763c00ac6364597fab0dbfc17e.tar.gz sparse-c2faf37219b145763c00ac6364597fab0dbfc17e.tar.bz2 sparse-c2faf37219b145763c00ac6364597fab0dbfc17e.zip |
Add __builtin_strcat and __builtin_strncat.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -552,6 +552,8 @@ void declare_builtin_functions(void) add_pre_buffer("extern void *__builtin_memcpy(void *, const void *, __SIZE_TYPE__);\n"); add_pre_buffer("extern void *__builtin_memset(void *, int, __SIZE_TYPE__);\n"); add_pre_buffer("extern int __builtin_memcmp(const void *, const void *, __SIZE_TYPE__);\n"); + add_pre_buffer("extern char *__builtin_strcat(char *, const char *);\n"); + add_pre_buffer("extern char *__builtin_strncat(char *, const char *, __SIZE_TYPE__);\n"); add_pre_buffer("extern int __builtin_strcmp(const char *, const char *);\n"); add_pre_buffer("extern char *__builtin_strchr(const char *, int);\n"); add_pre_buffer("extern char *__builtin_strcpy(char *, const char *);\n"); |