Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6102 → Rev 6082

/drivers/ddk/Makefile
29,20 → 29,18
io/ssize.c \
io/write.c \
linux/bitmap.c \
linux/ctype.c \
linux/dmapool.c \
linux/dmi.c \
linux/find_next_bit.c \
linux/idr.c \
linux/interval_tree.c \
linux/firmware.c \
linux/gcd.c \
linux/hdmi.c \
linux/hexdump.c \
linux/idr.c \
linux/interval_tree.c \
linux/kasprintf.c \
linux/list_sort.c \
linux/mutex.c \
linux/rbtree.c \
linux/dmapool.c \
linux/ctype.c \
linux/scatterlist.c \
linux/string.c \
linux/time.c \
49,7 → 47,6
linux/workqueue.c \
malloc/malloc.c \
stdio/vsprintf.c \
string/strstr.c \
string/_memmove.S \
string/_strncat.S \
string/_strncmp.S \
/drivers/ddk/core.S
32,7 → 32,6
.global _GetDisplay
.global _GetEvent
.global _GetPgAddr
.global _GetPCIList
.global _GetPid
.global _GetService
.global _GetStackBase
111,7 → 110,6
 
.def _GetDisplay; .scl 2; .type 32; .endef
.def _GetEvent; .scl 2; .type 32; .endef
.def _GetPCIList; .scl 2; .type 32; .endef
.def _GetPid; .scl 2; .type 32; .endef
.def _GetPgAddr; .scl 2; .type 32; .endef
.def _GetService; .scl 2; .type 32; .endef
190,7 → 188,6
_GetCpuFreq:
_GetDisplay:
_GetEvent:
_GetPCIList:
_GetPid:
_GetPgAddr:
_GetService:
270,7 → 267,6
.ascii " -export:GetCpuFreq" #
.ascii " -export:GetDisplay" # stdcall
.ascii " -export:GetEvent" #
.ascii " -export:GetPCIList" #
.ascii " -export:GetPid" #
.ascii " -export:GetPgAddr" # stdcall
.ascii " -export:GetService" # stdcall
/drivers/ddk/linux/hexdump.c
File deleted
/drivers/ddk/linux/gcd.c
File deleted
/drivers/ddk/linux/string.c
48,33 → 48,6
}
return ret;
}
 
#ifndef __HAVE_ARCH_STRLCAT
/**
* strlcat - Append a length-limited, C-string to another
* @dest: The string to be appended to
* @src: The string to append to it
* @count: The size of the destination buffer.
*/
size_t strlcat(char *dest, const char *src, size_t count)
{
size_t dsize = strlen(dest);
size_t len = strlen(src);
size_t res = dsize + len;
 
/* This would be a bug */
BUG_ON(dsize >= count);
 
dest += dsize;
count -= dsize;
if (len >= count)
len = count-1;
memcpy(dest, src, len);
dest[len] = 0;
return res;
}
EXPORT_SYMBOL(strlcpy);
#endif
 
 
#endif
 
/drivers/ddk/string/strstr.c
File deleted