diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-28 15:53:42 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-28 15:53:42 +0000 |
commit | 18b90c8848ca96919258e7df6dfd33a4ec7708d0 (patch) | |
tree | e93e4cbd7523605da696b19298815451fbb8949e /nuttx/libc | |
parent | 6c26fa6537b1a94defc0c842677f0d812a35b123 (diff) | |
download | px4-firmware-18b90c8848ca96919258e7df6dfd33a4ec7708d0.tar.gz px4-firmware-18b90c8848ca96919258e7df6dfd33a4ec7708d0.tar.bz2 px4-firmware-18b90c8848ca96919258e7df6dfd33a4ec7708d0.zip |
Verify that z8 targets still build (under Cygwin)
git-svn-id: http://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.c | 4 | ||||
-rw-r--r-- | nuttx/libc/string/lib_memmove.c | 2 |
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) |