aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index e5ba96fe..01659411 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -302,6 +302,8 @@ int ssh_connector_remove_event(ssh_connector connector);
void explicit_bzero(void *s, size_t n);
#endif /* !HAVE_EXPLICIT_BZERO */
+#define UNUSED(x) (void)(x)
+
/**
* This is a hack to fix warnings. The idea is to use this everywhere that we
* get the "discarding const" warning by the compiler. That doesn't actually