summaryrefslogtreecommitdiff
path: root/nuttx/lib/lib_memset.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-02 21:27:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-02 21:27:47 +0000
commit36727bb989aaf6110386f75262bd6a5f6dbec809 (patch)
tree031ccc9da4a48ac560992ebbc80cfe201eb4eb15 /nuttx/lib/lib_memset.c
parentf06ed1467da35379a46c5fce7535c35d1811b888 (diff)
downloadpx4-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/lib_memset.c')
-rw-r--r--nuttx/lib/lib_memset.c2
1 files changed, 1 insertions, 1 deletions
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;