]> git.ipfire.org Git - thirdparty/gcc.git/commit
libbacktrace: fix syntax of Windows registration functions
authorIan Lance Taylor <iant@golang.org>
Tue, 30 Jul 2024 16:25:03 +0000 (09:25 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 30 Jul 2024 16:27:59 +0000 (09:27 -0700)
commit37aa98f79a7fbad620c0318a48552b5442a49456
tree56a9b043321944d9c3b241677f83ad47c11e69e2
parent2d105efd6f60dce4d57380cf9820a4dd52cc8abb
libbacktrace: fix syntax of Windows registration functions

Adjust the syntax to keep MSVC happy.

Fixes https://github.com/ianlancetaylor/libbacktrace/issues/131

* pecoff.c (LDR_DLL_NOTIFICATION): Put function modifier
inside parentheses.
(LDR_REGISTER_FUNCTION): Likewise.
libbacktrace/pecoff.c