From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3TN-0002ha-Ak for barebox@lists.infradead.org; Fri, 09 Nov 2018 09:53:07 +0000 From: Sascha Hauer Date: Fri, 9 Nov 2018 10:52:44 +0100 Message-Id: <20181109095246.15068-19-s.hauer@pengutronix.de> In-Reply-To: <20181109095246.15068-1-s.hauer@pengutronix.de> References: <20181109095246.15068-1-s.hauer@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 18/20] fs: devfs: Make locally used function static To: Barebox List devfs_iterate() is only used locally, so make it static. Signed-off-by: Sascha Hauer --- fs/devfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/devfs.c b/fs/devfs.c index 717e66c5dc..81ae2c25a5 100644 --- a/fs/devfs.c +++ b/fs/devfs.c @@ -193,7 +193,7 @@ static struct inode *devfs_alloc_inode(struct super_block *sb) return &node->inode; } -int devfs_iterate(struct file *file, struct dir_context *ctx) +static int devfs_iterate(struct file *file, struct dir_context *ctx) { struct cdev *cdev; -- 2.19.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox