mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
Fix sha2 MAKE_CLONE no-op definition
The point of the dummy declaration is so that MAKE_CLONE(...) can have a trailing semicolon without introducing an empty declaration. So, the macro replacement text should *not* have a trailing semicolon, just like DEF_WEAK.
This commit is contained in:
parent
d596b1d30d
commit
9716e8c495
@ -42,7 +42,7 @@
|
|||||||
!defined(HAVE_SHA512UPDATE)
|
!defined(HAVE_SHA512UPDATE)
|
||||||
|
|
||||||
/* no-op out, similar to DEF_WEAK but only needed here */
|
/* no-op out, similar to DEF_WEAK but only needed here */
|
||||||
#define MAKE_CLONE(x, y) void __ssh_compat_make_clone_##x_##y(void);
|
#define MAKE_CLONE(x, y) void __ssh_compat_make_clone_##x_##y(void)
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sha2.h>
|
#include <sha2.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user