Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: tests/libc/posix_memalign.c

Issue 41683003: Remove newlib header workaround for run_posix_memalign_test. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/libc/nacl.scons ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/libc/posix_memalign.c
diff --git a/tests/libc/posix_memalign.c b/tests/libc/posix_memalign.c
index b48cff6583f555ee55985d3e7e09b13b09f06b93..d418822c003b3091a0a6d30dee0a536232579d9a 100644
--- a/tests/libc/posix_memalign.c
+++ b/tests/libc/posix_memalign.c
@@ -7,14 +7,6 @@
#include <stdio.h>
#include <stdlib.h>
-/* Newlib currently does not have posix_memalign in its headers, though
- * the malloc implementation (dlmalloc) does support it.
- * http://code.google.com/p/nativeclient/issues/detail?id=2505
- */
-#if defined(NEWLIB)
-extern int posix_memalign(void **memptr, size_t alignment, size_t size);
-#endif
-
int main(int argc, char* argv[]) {
char *outp;
/* Try a few alignments, some of them might be the standard malloc align.
« no previous file with comments | « tests/libc/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698