From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 596C1C4338F for ; Fri, 30 Jul 2021 10:55:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 38D3D60EFD for ; Fri, 30 Jul 2021 10:55:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238602AbhG3KzC (ORCPT ); Fri, 30 Jul 2021 06:55:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:57222 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238524AbhG3KzB (ORCPT ); Fri, 30 Jul 2021 06:55:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 08F0D60EFD; Fri, 30 Jul 2021 10:54:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627642496; bh=iofL8wg1kmQ/U2Yu3TxnFZnGOPEVVF/90P4jDPS2EUA=; h=From:To:Subject:Date:From; b=HVrrpAOleS1mIPjSvHknaWt4PCzr+WtJ8Spgr/msuQdHNu6ste6fLOifRs1kH1LEl /BedTo3h95So8kbmDcF5rxHMBhV+45LgFaEWQ0qhq6/z3GNk6pJck+rmUkfw+7OXSe pGFl5Qfkk/c+aIUzRSEye6TForOljGK3rCf3z8MGuDyWENuaO/xqMJYFAU+HguqaN4 /fwWEnMstoMPyJpoUlKHg5WcPxTAee3ofclHDW79CaQKa2ZUg4uCPSPjYYUyV5kfaV pV8N/VPrLHLPwpf94sTEWVxXW/NXJY4HIZXESl7Zz/zpEnIcobA4kPp7kZ9oxo0QAf bFzNp9xB2AocQ== Received: by pali.im (Postfix) id 49A7D772; Fri, 30 Jul 2021 12:54:54 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: linux-man@vger.kernel.org, Alejandro Colomar , Michael Kerrisk Subject: [PATCH] ioctl_tty.2: Update DTR example Date: Fri, 30 Jul 2021 12:54:44 +0200 Message-Id: <20210730105444.10483-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org Do not include unused (and incompatible) header file termios.h and include required header files for puts() and close() functions. Signed-off-by: Pali Rohár --- man2/ioctl_tty.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man2/ioctl_tty.2 b/man2/ioctl_tty.2 index 91aceddb7828..b5356738d4bb 100644 --- a/man2/ioctl_tty.2 +++ b/man2/ioctl_tty.2 @@ -743,7 +743,8 @@ Insufficient permission. Check the condition of DTR on the serial port. .PP .EX -#include +#include +#include #include #include -- 2.20.1