mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Moved the address alignment test macros for memchr(), memcmp(), memcpy(),
memmove() and memset() into "string_headers.h". git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14709 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: string_memset.c,v 1.2 2004-08-14 10:00:33 obarthel Exp $
|
||||
* $Id: string_memset.c,v 1.3 2004-08-14 11:11:01 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -43,12 +43,6 @@
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#define IS_UNALIGNED(a) ((((unsigned long)(a)) & 1) != 0)
|
||||
#define IS_SHORT_ALIGNED(a) ((((unsigned long)(a)) & 3) == 2)
|
||||
#define IS_LONG_ALIGNED(a) ((((unsigned long)(a)) & 1) == 0)
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
INLINE static void
|
||||
__memset(unsigned char * to,unsigned char value,size_t len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user