summaryrefslogtreecommitdiff
path: root/nuttx/libc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-28 15:53:42 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-28 15:53:42 +0000
commit73198560b5abd3c9a467a28367c8560cb3cb787e (patch)
treee93e4cbd7523605da696b19298815451fbb8949e /nuttx/libc
parent0db70c6895320b8a835d544e5583f6c8714a9675 (diff)
downloadpx4-nuttx-73198560b5abd3c9a467a28367c8560cb3cb787e.tar.gz
px4-nuttx-73198560b5abd3c9a467a28367c8560cb3cb787e.tar.bz2
px4-nuttx-73198560b5abd3c9a467a28367c8560cb3cb787e.zip
Verify that z8 targets still build (under Cygwin)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5396 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc')
-rw-r--r--nuttx/libc/string/lib_memcmp.c4
-rw-r--r--nuttx/libc/string/lib_memmove.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/libc/string/lib_memcmp.c b/nuttx/libc/string/lib_memcmp.c
index e1722a4d8..5434bb847 100644
--- a/nuttx/libc/string/lib_memcmp.c
+++ b/nuttx/libc/string/lib_memcmp.c
@@ -1,7 +1,7 @@
/************************************************************
* libc/string/lib_memcmp.c
*
- * Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -50,7 +50,7 @@
************************************************************/
#ifndef CONFIG_ARCH_MEMCMP
-int memcmp(const void *s1, const void *s2, size_t n)
+int memcmp(FAR const void *s1, FAR const void *s2, size_t n)
{
unsigned char *p1 = (unsigned char *)s1;
unsigned char *p2 = (unsigned char *)s2;
diff --git a/nuttx/libc/string/lib_memmove.c b/nuttx/libc/string/lib_memmove.c
index cbc26fb26..cc8317223 100644
--- a/nuttx/libc/string/lib_memmove.c
+++ b/nuttx/libc/string/lib_memmove.c
@@ -50,7 +50,7 @@
************************************************************/
#ifndef CONFIG_ARCH_MEMMOVE
-void *memmove(void *dest, const void *src, size_t count)
+FAR void *memmove(FAR void *dest, FAR const void *src, size_t count)
{
char *tmp, *s;
if (dest <= src)