mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 01:50:16 +00: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)
|
||||
|
||||
/* 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 <sha2.h>
|
||||
|
Loading…
Reference in New Issue
Block a user