diff options
author | Ken Brown <kbrown@cornell.edu> | 2022-06-06 12:00:45 -0400 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2022-06-06 12:00:45 -0400 |
commit | 30c5411d0717483a9ad892f6f0a2f92a1ffd7c84 (patch) | |
tree | 6b96082bab34a6c1c72637e1f51f8b894049b37b /winsup/cygwin/cygheap.h | |
parent | cb4b4548c828d3975266571190d67650d374339d (diff) | |
download | newlib-30c5411d0717483a9ad892f6f0a2f92a1ffd7c84.zip newlib-30c5411d0717483a9ad892f6f0a2f92a1ffd7c84.tar.gz newlib-30c5411d0717483a9ad892f6f0a2f92a1ffd7c84.tar.bz2 |
Cygwin: remove most occurrences of __stdcall and __cdecl
These have no effect on x86_64. Retain a few occurrences of __cdecl
in files imported from other sources.
Also retain all occurrences of WINAPI, even though the latter is
simply a macro that expands to __stdcall. Most of these occurrences
are associated with Windows API functions, and removing them might
make the code confusing instead of simpler.
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 528c61e..7f36c58 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -719,7 +719,7 @@ class cygheap_fdenum : public cygheap_fdmanip } }; -void __stdcall cygheap_fixup_in_child (bool); -void __stdcall cygheap_init (); +void cygheap_fixup_in_child (bool); +void cygheap_init (); void setup_cygheap (); extern char _cygheap_start[] __attribute__((section(".idata"))); |