diff options
author | Ken Brown <kbrown@cornell.edu> | 2022-06-06 19:00:45 +0300 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2022-06-06 19:00:45 +0300 |
commit | 30c5411d0717483a9ad892f6f0a2f92a1ffd7c84 (patch) | |
tree | 6b96082bab34a6c1c72637e1f51f8b894049b37b /winsup/cygwin/strace.cc | |
parent | cb4b4548c828d3975266571190d67650d374339d (diff) |
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/strace.cc')
-rw-r--r-- | winsup/cygwin/strace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc index 35f8a59ae..a1a55d1ec 100644 --- a/winsup/cygwin/strace.cc +++ b/winsup/cygwin/strace.cc @@ -90,7 +90,7 @@ strace::microseconds () return (int) (clk->strace_usecs () - process_start); } -static int __stdcall +static int getfunc (char *in_dst, const char *func) { const char *p; |