aboutsummaryrefslogtreecommitdiff
path: root/lib.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2007-09-16 22:29:00 +0200
committerJosh Triplett <josh@freedesktop.org>2007-09-16 15:53:42 -0700
commitacc52125bec3a2ef91fb2c2e600cc66f1bd82a57 (patch)
tree3716924505609a4b52fd53b674df8b41471fa870 /lib.c
parentMakefile: VERSION=0.4 (diff)
downloadsparse-acc52125bec3a2ef91fb2c2e600cc66f1bd82a57.tar.gz
sparse-acc52125bec3a2ef91fb2c2e600cc66f1bd82a57.tar.bz2
sparse-acc52125bec3a2ef91fb2c2e600cc66f1bd82a57.zip
Added a prototype for mempcpy().
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.c b/lib.c
index 058a65c..2099262 100644
--- a/lib.c
+++ b/lib.c
@@ -560,6 +560,7 @@ void declare_builtin_functions(void)
{
/* Gaah. gcc knows tons of builtin <string.h> functions */
add_pre_buffer("extern void *__builtin_memcpy(void *, const void *, __SIZE_TYPE__);\n");
+ add_pre_buffer("extern void *__builtin_mempcpy(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");