Make MAKE_CLONE no-op macro more correct.
Similar to the previous change to DEF_WEAK, some compilers don't like the empty statement, so convert into a no-op function prototype.
This commit is contained in:
parent
cfc1897a20
commit
86a0323374
|
@ -41,7 +41,8 @@
|
|||
#if !defined(HAVE_SHA256UPDATE) || !defined(HAVE_SHA384UPDATE) || \
|
||||
!defined(HAVE_SHA512UPDATE)
|
||||
|
||||
#define MAKE_CLONE(x, y) /* no-op out */
|
||||
/* no-op out, similar to DEF_WEAK but only needed here */
|
||||
#define MAKE_CLONE(x, y) void __ssh_compat_make_clone_##x_##y(void);
|
||||
|
||||
#include <string.h>
|
||||
#include <sha2.h>
|
||||
|
|
Loading…
Reference in New Issue