From: cuz Date: Sat, 22 Jul 2000 11:11:23 +0000 (+0000) Subject: strdup is now a fastcall function X-Git-Tag: V2.12.0~3330 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7dd7b024a041b6d233531daa79eec328ad6401c0;p=cc65 strdup is now a fastcall function git-svn-id: svn://svn.cc65.org/cc65/trunk@187 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/string.h b/include/string.h index 4acb2f8ea..586421dad 100644 --- a/include/string.h +++ b/include/string.h @@ -40,7 +40,7 @@ void* __fastcall__ memset (void* s, int c, size_t count); /* Non standard: */ #ifndef __STRICT_ANSI__ -char* strdup (const char* s); /* SYSV/BSD */ +char* __fastcall__ strdup (const char* s); /* SYSV/BSD */ int __fastcall__ stricmp (const char* s1, const char* s2); /* DOS/Windows */ int __fastcall__ strcasecmp (const char* s1, const char* s2); /* Same for Unix */ char* __fastcall__ strlwr (char* s);