POSIX API without _CRTIMP (Part 1 of X).
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@122 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/ChangeLog b/mingw-w64-headers/include/ChangeLog
index d974c7d..0626e5c 100755
--- a/mingw-w64-headers/include/ChangeLog
+++ b/mingw-w64-headers/include/ChangeLog
@@ -1,3 +1,10 @@
+2007-10-15 Kai Tietz <kai.tietz@onevision.com>
+
+ * direct.h: (getcwd): No _CRTIMP declaration.
+ * io.h: (getcwd): No _CRTIMP declaration.
+ * malloc.h: (malloc, calloc, free, realloc): No _CRTIMP declaration.
+ * stdlib.h: (malloc, calloc, free, realloc): No _CRTIMP declaration.
+
2007-10-10 Kai Tietz <kai.tietz@onevision.com>
* math.h: Add prototypes for nextafterl and ldexpl.
diff --git a/mingw-w64-headers/include/direct.h b/mingw-w64-headers/include/direct.h
index 121188f..0736c1c 100755
--- a/mingw-w64-headers/include/direct.h
+++ b/mingw-w64-headers/include/direct.h
@@ -54,7 +54,7 @@
#define diskfree_t _diskfree_t
- _CRTIMP char *__cdecl getcwd(char *_DstBuf,int _SizeInBytes);
+ char *__cdecl getcwd(char *_DstBuf,int _SizeInBytes);
_CRTIMP int __cdecl chdir(const char *_Path);
_CRTIMP int __cdecl mkdir(const char *_Path);
_CRTIMP int __cdecl rmdir(const char *_Path);
diff --git a/mingw-w64-headers/include/io.h b/mingw-w64-headers/include/io.h
index 61a2678..a2d0355 100755
--- a/mingw-w64-headers/include/io.h
+++ b/mingw-w64-headers/include/io.h
@@ -275,7 +275,7 @@
#ifndef _UWIN
_CRTIMP int __cdecl chdir (const char*);
- _CRTIMP char* __cdecl getcwd (char*, int);
+ char * __cdecl getcwd (char*, int);
_CRTIMP int __cdecl mkdir (const char*);
_CRTIMP char* __cdecl mktemp (char*);
_CRTIMP int __cdecl rmdir (const char*);
diff --git a/mingw-w64-headers/include/malloc.h b/mingw-w64-headers/include/malloc.h
index 9e6e3a6..e3907ec 100755
--- a/mingw-w64-headers/include/malloc.h
+++ b/mingw-w64-headers/include/malloc.h
@@ -53,10 +53,10 @@
#ifndef _CRT_ALLOCATION_DEFINED
#define _CRT_ALLOCATION_DEFINED
- _CRTIMP void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements);
- _CRTIMP void __cdecl free(void *_Memory);
- _CRTIMP void *__cdecl malloc(size_t _Size);
- _CRTIMP void *__cdecl realloc(void *_Memory,size_t _NewSize);
+ void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements);
+ void __cdecl free(void *_Memory);
+ void *__cdecl malloc(size_t _Size);
+ void *__cdecl realloc(void *_Memory,size_t _NewSize);
_CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size);
/* _CRTIMP void __cdecl _aligned_free(void *_Memory);
_CRTIMP void *__cdecl _aligned_malloc(size_t _Size,size_t _Alignment); */
diff --git a/mingw-w64-headers/include/stdlib.h b/mingw-w64-headers/include/stdlib.h
index 856c605..4b2e700 100755
--- a/mingw-w64-headers/include/stdlib.h
+++ b/mingw-w64-headers/include/stdlib.h
@@ -335,10 +335,10 @@
#ifndef _CRT_ALLOCATION_DEFINED
#define _CRT_ALLOCATION_DEFINED
- _CRTIMP void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements);
- _CRTIMP void __cdecl free(void *_Memory);
- _CRTIMP void *__cdecl malloc(size_t _Size);
- _CRTIMP void *__cdecl realloc(void *_Memory,size_t _NewSize);
+ void *__cdecl calloc(size_t _NumOfElements,size_t _SizeOfElements);
+ void __cdecl free(void *_Memory);
+ void *__cdecl malloc(size_t _Size);
+ void *__cdecl realloc(void *_Memory,size_t _NewSize);
_CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size);
//_CRTIMP void __cdecl _aligned_free(void *_Memory);
//_CRTIMP void *__cdecl _aligned_malloc(size_t _Size,size_t _Alignment);