Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2094377iof; Tue, 7 Jun 2022 19:31:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz88SrPsrNP0u1EiKeJ4fKHhmdG+SjHamkU79RdYe37Y872IXSO+9ktsEr1MTkpcWsbDPy0 X-Received: by 2002:a17:902:cf06:b0:161:53b6:474d with SMTP id i6-20020a170902cf0600b0016153b6474dmr32086301plg.63.1654655473154; Tue, 07 Jun 2022 19:31:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654655473; cv=none; d=google.com; s=arc-20160816; b=LsSKvgIkK3EQfZ/FOgXJZqSpsFF06ep6h5ac0R1eCqTfwPnsJx8EYG7c8o48HSRrNk +e3WN4SX0dXiZNt8Qa/L9FayF2aanJwG0Fjyeu/HzoBzh+fo+RcyutZ8hPbaoVWT4COM 25pMIK6Wvd+aJ2rzPB1aLN1V4+x9QSyvOVDG/VdDr2lXtILDoxYdLeDRbTOUEYQLFibh 9yLjTAjoG2cVcYnlqDR0Av7qWsN6i+w7DHP5KY3+XpWBEowwWsrWACZdAeUKAzh5xPWr UUXyvKK32PNQCLmmC7idsolq8UPLKZDj5cf1cz7dAXw3DXhF03O/jWfexJretHrx3z8q cOlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=m+LjQ5CcdTzH2HTKHZ/VYIEk2ijL3cQwy6RClzMeQBU=; b=ayXpvDvZKSInkSVg1p0AmqeO1Z94Lq1phl+d05fR5UL0wX5X9ZOezDdXxB2tZCXcS2 N5h40huMKTIKwPR0MY5u6JJVG44z2TRquQHqi+6tWgKn2eggLWifHFNDQ9EXf1nxBrKG Z6x6q8JIBo5GIJ7Z4XCeAYecAdThfy7gDTPWGhGItrIzmtgrDO4OcQAeLYCJO9iLMCDL UCyxdsCg6JpEV+MFNShwJpIvRzQK0thJpyikPxjHbcge1jr+X/FxDwdyjc5bvK+fKwje 7CRJ6CWPNj442lsX+UefO6bZ7ZzdPYa3MaH/GNbhSNLvrXup6wQ7ozI+ChmskW7bgo0l Pjsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ZV5EcOWX; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=eGjZqa5q; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id lp11-20020a17090b4a8b00b001e6a45f0a3dsi25874979pjb.188.2022.06.07.19.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 19:31:13 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ZV5EcOWX; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=eGjZqa5q; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CC2D43B7E40; Tue, 7 Jun 2022 19:10:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237533AbiFGKvE (ORCPT + 99 others); Tue, 7 Jun 2022 06:51:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242296AbiFGKuK (ORCPT ); Tue, 7 Jun 2022 06:50:10 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC4DC97288; Tue, 7 Jun 2022 03:49:51 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id A10F81F8F6; Tue, 7 Jun 2022 10:49:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1654598990; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m+LjQ5CcdTzH2HTKHZ/VYIEk2ijL3cQwy6RClzMeQBU=; b=ZV5EcOWXwXWhDRMGeS65xZsdseabubXKc6hCkXmWdoAgFd4rIUV35S9UZLyJiZdmBtdzp+ EZZIJezM22WV8zzMtzPHq5FB6q8xoz/uPTfAFRBcYBQbtW5uDyMI6e/iGofeL7buzNfDeA sxYY1UDkUDbO3YMV88b6V4ssm4qtdwA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1654598990; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m+LjQ5CcdTzH2HTKHZ/VYIEk2ijL3cQwy6RClzMeQBU=; b=eGjZqa5q/j/Kzya2Ykp/CcONnO2y+/ahvg+1ow6VQTEWXztnGSlKIcXTU8aEBbNDv1lfrQ D9z4xsEZNBwFqBBA== Received: from localhost.localdomain (unknown [10.100.201.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 7849E2C146; Tue, 7 Jun 2022 10:49:50 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH 05/36] tty/vt: consolemap: remove extern from function decls Date: Tue, 7 Jun 2022 12:49:15 +0200 Message-Id: <20220607104946.18710-5-jslaby@suse.cz> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607104946.18710-1-jslaby@suse.cz> References: <20220607104946.18710-1-jslaby@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The extern keyword is not needed for function declarations. Remove it, so that the consolemap header conforms to other tty headers. Signed-off-by: Jiri Slaby --- include/linux/consolemap.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/include/linux/consolemap.h b/include/linux/consolemap.h index bcfce748c9d8..abc28e4450bf 100644 --- a/include/linux/consolemap.h +++ b/include/linux/consolemap.h @@ -17,12 +17,11 @@ #ifdef CONFIG_CONSOLE_TRANSLATIONS struct vc_data; -extern u16 inverse_translate(const struct vc_data *conp, int glyph, - int use_unicode); -extern unsigned short *set_translate(int m, struct vc_data *vc); -extern int conv_uni_to_pc(struct vc_data *conp, long ucs); -extern u32 conv_8bit_to_uni(unsigned char c); -extern int conv_uni_to_8bit(u32 uni); +u16 inverse_translate(const struct vc_data *conp, int glyph, int use_unicode); +unsigned short *set_translate(int m, struct vc_data *vc); +int conv_uni_to_pc(struct vc_data *conp, long ucs); +u32 conv_8bit_to_uni(unsigned char c); +int conv_uni_to_8bit(u32 uni); void console_map_init(void); #else #define inverse_translate(conp, glyph, uni) ((uint16_t)glyph) -- 2.36.1