Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/devx.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ struct devx_fs_rule_handle {
uint32_t matcher_handle;
};

int __matcher_create(struct devx_fs_rule_handle *obj, void* in)
#include<stdio.h>

static int __matcher_create(struct devx_fs_rule_handle *obj, void* in)
{
DECLARE_COMMAND_BUFFER(cmd,
MLX5_IB_OBJECT_FLOW_MATCHER,
Expand Down Expand Up @@ -216,7 +218,7 @@ int __matcher_create(struct devx_fs_rule_handle *obj, void* in)
return 0;
}

int __matcher_destroy(struct devx_fs_rule_handle *obj)
static int __matcher_destroy(struct devx_fs_rule_handle *obj)
{
DECLARE_COMMAND_BUFFER(cmd,
MLX5_IB_OBJECT_FLOW_MATCHER,
Expand Down
1 change: 1 addition & 0 deletions src/devx_uar.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* See file LICENSE for terms.
*/

#include <stdlib.h>
#include <sys/mman.h>
#include <errno.h>
#include "devx_ioctl.h"
Expand Down