diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-02 21:27:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-02 21:27:47 +0000 |
commit | 36727bb989aaf6110386f75262bd6a5f6dbec809 (patch) | |
tree | 031ccc9da4a48ac560992ebbc80cfe201eb4eb15 /nuttx/lib | |
parent | f06ed1467da35379a46c5fce7535c35d1811b888 (diff) | |
download | px4-nuttx-36727bb989aaf6110386f75262bd6a5f6dbec809.tar.gz px4-nuttx-36727bb989aaf6110386f75262bd6a5f6dbec809.tar.bz2 px4-nuttx-36727bb989aaf6110386f75262bd6a5f6dbec809.zip |
Code complete for 8051 (not tested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@29 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib')
-rw-r--r-- | nuttx/lib/lib_memcmp.c | 2 | ||||
-rw-r--r-- | nuttx/lib/lib_memcpy.c | 2 | ||||
-rw-r--r-- | nuttx/lib/lib_memmove.c | 2 | ||||
-rw-r--r-- | nuttx/lib/lib_memset.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/lib/lib_memcmp.c b/nuttx/lib/lib_memcmp.c index 5de0b1c49..b433eda90 100644 --- a/nuttx/lib/lib_memcmp.c +++ b/nuttx/lib/lib_memcmp.c @@ -50,7 +50,7 @@ ************************************************************/ #ifndef CONFIG_ARCH_MEMCMP -int memcmp(FAR const void *s1, FAR const void *s2, size_t n) +int memcmp(const void *s1, const void *s2, size_t n) { unsigned char *p1 = (unsigned char *)s1; unsigned char *p2 = (unsigned char *)s2; diff --git a/nuttx/lib/lib_memcpy.c b/nuttx/lib/lib_memcpy.c index 417fdc82f..0953b4d28 100644 --- a/nuttx/lib/lib_memcpy.c +++ b/nuttx/lib/lib_memcpy.c @@ -50,7 +50,7 @@ ************************************************************/ #ifndef CONFIG_ARCH_MEMCPY -void *memcpy(FAR void *dest, FAR const void *src, size_t n) +void *memcpy(void *dest, const void *src, size_t n) { unsigned char *pout = (unsigned char*)dest; unsigned char *pin = (unsigned char*)src; diff --git a/nuttx/lib/lib_memmove.c b/nuttx/lib/lib_memmove.c index c64045204..cad0fa2fc 100644 --- a/nuttx/lib/lib_memmove.c +++ b/nuttx/lib/lib_memmove.c @@ -50,7 +50,7 @@ ************************************************************/ #ifndef CONFIG_ARCH_MEMMOVE -void *memmove(FAR void *dest, FAR const void *src, size_t count) +void *memmove(void *dest, const void *src, size_t count) { char *tmp, *s; if (dest <= src) diff --git a/nuttx/lib/lib_memset.c b/nuttx/lib/lib_memset.c index 33bead8db..25b4929eb 100644 --- a/nuttx/lib/lib_memset.c +++ b/nuttx/lib/lib_memset.c @@ -50,7 +50,7 @@ ************************************************************/ #ifndef CONFIG_ARCH_MEMSET -void *memset(FAR void *s, int c, size_t n) +void *memset(void *s, int c, size_t n) { unsigned char *p = (unsigned char*)s; while (n-- > 0) *p++ = c; |