From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969033AbXFHNbd (ORCPT ); Fri, 8 Jun 2007 09:31:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S966776AbXFHNbY (ORCPT ); Fri, 8 Jun 2007 09:31:24 -0400 Received: from nic.NetDirect.CA ([216.16.235.2]:35426 "EHLO rubicon.netdirect.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966684AbXFHNbX (ORCPT ); Fri, 8 Jun 2007 09:31:23 -0400 X-Originating-Ip: 72.143.66.27 Date: Fri, 8 Jun 2007 09:29:12 -0400 (EDT) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost.localdomain To: Linux Kernel Mailing List cc: Andrew Morton Subject: [PATCH] Include from . Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Net-Direct-Inc-MailScanner-Information: Please contact the ISP for more information X-Net-Direct-Inc-MailScanner: Found to be clean X-Net-Direct-Inc-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-16.8, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -15.00, INIT_RECVD_OUR_AUTH -20.00, RCVD_IN_SORBS_DUL 20.00) X-Net-Direct-Inc-MailScanner-From: rpjday@mindspring.com Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org The header file should include to pick up the definition of "struct ktermios"; otherwise, you run the risk of seeing: include/linux/tty_driver.h:142: warning: 'struct ktermios' \ declared inside parameter list include/linux/tty_driver.h:142: warning: its scope is only \ this definition or declaration, which is probably not what you want Signed-off-by: Robert P. J. Day --- i'm *guessing* this is the solution to the above issue. diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h index 85c95cd..b687174 100644 --- a/include/linux/tty_driver.h +++ b/include/linux/tty_driver.h @@ -123,6 +123,7 @@ #include #include #include +#include struct tty_struct; -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://fsdev.net/wiki/index.php?title=Main_Page ========================================================================