aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw/include
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-08-24 09:02:45 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-08-24 09:02:45 +0000
commitd5afcd86f9386ceaa9f04ce7dcee41f49f219c0a (patch)
tree9ca39cee81747c307f452f8eb362332a53822bc9 /winsup/mingw/include
parenta6c2ea7e7c363f691fc4dc683c0772b3dab2db70 (diff)
downloadnewlib-d5afcd86f9386ceaa9f04ce7dcee41f49f219c0a.zip
newlib-d5afcd86f9386ceaa9f04ce7dcee41f49f219c0a.tar.gz
newlib-d5afcd86f9386ceaa9f04ce7dcee41f49f219c0a.tar.bz2
* include/malloc.h (__mingw_aligned_offset_malloc,
__mingw_aligned_offset_realloc, __mingw_aligned_malloc, __mingw_aligned_realloc, __mingw_aligned_free): Add prototypes. * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c, tst-aligned-malloc.c. (REPLACE_OBJS): Add mingw-aligned-malloc.o.
Diffstat (limited to 'winsup/mingw/include')
-rw-r--r--winsup/mingw/include/malloc.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/winsup/mingw/include/malloc.h b/winsup/mingw/include/malloc.h
index 3cfc5fb..dac7ee4 100644
--- a/winsup/mingw/include/malloc.h
+++ b/winsup/mingw/include/malloc.h
@@ -68,11 +68,19 @@ _CRTIMP void* __cdecl _expand (void*, size_t);
_CRTIMP void * __cdecl _aligned_offset_malloc(size_t, size_t, size_t);
_CRTIMP void * __cdecl _aligned_offset_realloc(void*, size_t, size_t, size_t);
-_CRTIMP void* __cdecl _aligned_malloc (size_t, size_t);
-_CRTIMP void* __cdecl _aligned_realloc (void*, size_t, size_t);
+_CRTIMP void * __cdecl _aligned_malloc (size_t, size_t);
+_CRTIMP void * __cdecl _aligned_realloc (void*, size_t, size_t);
_CRTIMP void __cdecl _aligned_free (void*);
#endif /* __MSVCRT_VERSION__ >= 0x0700 */
+/* These require libmingwex.a. */
+void * __cdecl __mingw_aligned_offset_malloc (size_t, size_t, size_t);
+void * __cdecl __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t);
+
+void * __cdecl __mingw_aligned_malloc (size_t, size_t);
+void * __cdecl __mingw_aligned_realloc (void*, size_t, size_t);
+void __cdecl __mingw_aligned_free (void*);
+
#ifdef __cplusplus
}
#endif