Fix #5: Included files content is unavailable during compilation #21

Manually merged
belliash merged 20 commits from include_fix into master 2018-08-01 16:18:03 +02:00
Showing only changes of commit a6a43b5f3b - Show all commits

View File

@ -325,13 +325,6 @@ sxu32 Systrcpy(char *zDest, sxu32 nDestLen, const char *zSrc, sxu32 nLen) {
zBuf[0] = 0;
return (sxu32)(zBuf - (unsigned char *)zDest);
}
sxi32 SyStrncpy(char *zDest, const char *zSrc, sxu32 nLen) {
sxu32 i = 0;
while(i++ != nLen && (*zDest++ = *zSrc++));
*zDest = '\0';
return SXRET_OK;
}
sxi32 SyAsciiToHex(sxi32 c) {
if(c >= 'a' && c <= 'f') {
c += 10 - 'a';