From 3a15f985f24bde35868de297e27e0a48730e1dc4 Mon Sep 17 00:00:00 2001 From: Thanos Makatos Date: Fri, 20 Sep 2019 09:01:56 -0400 Subject: make function muser_read static Signed-off-by: Thanos Makatos --- kmod/muser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kmod/muser.c b/kmod/muser.c index 4ed388d..487bd6b 100644 --- a/kmod/muser.c +++ b/kmod/muser.c @@ -975,8 +975,8 @@ void dump_buffer(unsigned char const *const buf, uint32_t count) #endif } -ssize_t muser_read(struct mdev_device *mdev, char __user *buf, size_t count, - loff_t *ppos) +static ssize_t muser_read(struct mdev_device *mdev, char __user *buf, + size_t count, loff_t *ppos) { struct muser_dev *mudev = mdev_get_drvdata(mdev); struct mudev_cmd mucmd = { 0 }; -- cgit v1.1