From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752777AbcFUQr0 (ORCPT ); Tue, 21 Jun 2016 12:47:26 -0400 Received: from 82-70-136-246.dsl.in-addr.zen.co.uk ([82.70.136.246]:42812 "EHLO rainbowdash.ducie.codethink.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752239AbcFUQqR (ORCPT ); Tue, 21 Jun 2016 12:46:17 -0400 From: Ben Dooks To: linux-kernel@lists.codethink.co.uk Cc: Ben Dooks , linux-kernel@vger.kernel.org Subject: [PATCH] proc: proc_tty.c should include internal.h Date: Tue, 21 Jun 2016 17:44:44 +0100 Message-Id: <1466527484-789-1-git-send-email-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.8.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The proc_tty_init() is defined in proc_tty.c, but has no declaration as the file does not include internal.h where the declaration is. Fix the following sparse error by including internal.h: linux/fs/proc/proc_tty.c:175:13: warning: symbol 'proc_tty_init' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: linux-kernel@vger.kernel.org --- fs/proc/proc_tty.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/proc/proc_tty.c b/fs/proc/proc_tty.c index 15f327b..f4cfa50 100644 --- a/fs/proc/proc_tty.c +++ b/fs/proc/proc_tty.c @@ -15,6 +15,8 @@ #include #include +#include "internal.h" + /* * The /proc/tty directory inodes... */ -- 2.8.1