Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2013-09-13 20:51:48 +0400
committerJeff Johnston <jjohnstn@redhat.com>2013-09-13 20:51:48 +0400
commit00fd23d50f7867bbfa8033f895cbf9ba279b98bc (patch)
tree901086d30e076fe11f155e0e5ee08d73cbd56a15 /newlib
parent44d6d53977e6bc82c2b1e6dbe8ae7f310b260604 (diff)
2013-09-13 Joey Ye <joey.ye@arm.com>
* libc/stdlib/nano-mallocr.c (nano_allopt): Typo fixed to ... (nano_mallopt): ... this.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/stdlib/nano-mallocr.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 36019d62d..cb3d05dac 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-13 Joey Ye <joey.ye@arm.com>
+
+ * libc/stdlib/nano-mallocr.c (nano_allopt): Typo fixed to ...
+ (nano_mallopt): ... this.
+
2013-09-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libc/include/sys/cdefs.h: Synchronize with latest FreeBSD
diff --git a/newlib/libc/stdlib/nano-mallocr.c b/newlib/libc/stdlib/nano-mallocr.c
index e0a919590..0d90680cf 100644
--- a/newlib/libc/stdlib/nano-mallocr.c
+++ b/newlib/libc/stdlib/nano-mallocr.c
@@ -72,7 +72,7 @@
#define nano_malloc_usable_size _malloc_usable_size_r
#define nano_malloc_stats _malloc_stats_r
#define nano_mallinfo _mallinfo_r
-#define nano_allopt _mallopt_r
+#define nano_mallopt _mallopt_r
#else /* ! INTERNAL_NEWLIB */
@@ -94,7 +94,7 @@
#define nano_malloc_usable_size malloc_usable_size
#define nano_malloc_stats malloc_stats
#define nano_mallinfo mallinfo
-#define nano_allopt mallopt
+#define nano_mallopt mallopt
#endif /* ! INTERNAL_NEWLIB */
/* Define free_list as internal name to avoid conflict with user names */