aboutgitcodebugslistschat
diff options
context:
space:
mode:
-rw-r--r--pasta.c1
-rw-r--r--tcp.c1
-rw-r--r--tcp_splice.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/pasta.c b/pasta.c
index 31e1e00..b85ea2b 100644
--- a/pasta.c
+++ b/pasta.c
@@ -176,6 +176,7 @@ struct pasta_spawn_cmd_arg {
*
* Return: this function never returns
*/
+/* cppcheck-suppress [constParameterCallback, unmatchedSuppression] */
static int pasta_spawn_cmd(void *arg)
{
const struct pasta_spawn_cmd_arg *a;
diff --git a/tcp.c b/tcp.c
index cb613cf..dd8d46e 100644
--- a/tcp.c
+++ b/tcp.c
@@ -3079,6 +3079,7 @@ void tcp_ns_sock_init(const struct ctx *c, in_port_t port)
*
* Return: 0
*/
+/* cppcheck-suppress [constParameterCallback, unmatchedSuppression] */
static int tcp_ns_socks_init(void *arg)
{
const struct ctx *c = (const struct ctx *)arg;
diff --git a/tcp_splice.c b/tcp_splice.c
index 3f9d395..5a406c6 100644
--- a/tcp_splice.c
+++ b/tcp_splice.c
@@ -736,6 +736,7 @@ static void tcp_splice_pipe_refill(const struct ctx *c)
*
* Return: 0
*/
+/* cppcheck-suppress [constParameterCallback, unmatchedSuppression] */
static int tcp_sock_refill_ns(void *arg)
{
const struct ctx *c = (const struct ctx *)arg;