From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752812Ab2KSF2x (ORCPT ); Mon, 19 Nov 2012 00:28:53 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:57271 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752435Ab2KSF2v (ORCPT ); Mon, 19 Nov 2012 00:28:51 -0500 X-Originating-IP: 217.70.178.146 X-Originating-IP: 50.43.39.152 From: Josh Triplett To: Linus Torvalds , Greg Kroah-Hartman , Alan Cox , Andrew Morton , Rabin Vincent , Samuel Thibault , linux-kernel@vger.kernel.org Cc: Josh Triplett Subject: [PATCH 02/58] drivers/tty/vt/vt_ioctl.c: Include for pm_set_vt_switch Date: Sun, 18 Nov 2012 21:27:41 -0800 Message-Id: <1353302917-13995-3-git-send-email-josh@joshtriplett.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1353302917-13995-1-git-send-email-josh@joshtriplett.org> References: <1353302917-13995-1-git-send-email-josh@joshtriplett.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org C files should include the header files that prototype their functions. This keeps the types in sync, and eliminates warnings from GCC (-Wmissing-prototypes) and Sparse (-Wdecl). Signed-off-by: Josh Triplett --- drivers/tty/vt/vt_ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/vt_ioctl.c index b841f56..98ff173 100644 --- a/drivers/tty/vt/vt_ioctl.c +++ b/drivers/tty/vt/vt_ioctl.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include -- 1.7.10.4