Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1861738ybt; Thu, 2 Jul 2020 16:13:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYyFNhALVSVT/bQwVZNrWIHXka05ZAS0EtikEe+l0f/UqOeHLqSk/g6QBqHQOM15W/xsY4 X-Received: by 2002:a17:906:4f16:: with SMTP id t22mr29038881eju.179.1593731608877; Thu, 02 Jul 2020 16:13:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593731608; cv=none; d=google.com; s=arc-20160816; b=YxHIFz1y2Yf2C8NmANFA7iKzVpOlC5GkSkcza4UqbYtPKFrcThel4EhdWZgYcb++Ef qwHJVThfGkGdwHjE0tFm7/rSKQLxuDU0+YqaznFR4O4b8VxnoN2oTpJ06+WtPVKqC43S /5VdRfReMEBgpnVXudByFu+ptwvihUSt0lB/RzlFXkhD9fx7U3e88koM0W1Xt4xtwwHG PD1zWwLkYRiu+7va6fdgaLpuQMjU19ybmrwB9j8SkvK2FDTMeJYWptSCESLu9H8hzfQ9 zj4x3qZ99oALXUhuPd8rmr5JzPTdQpFy6+fbn8ktxwXXioi2byUkC7jfA/TIWpLigDab hETw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+XseKbQnu7OoUmmVAPCmrn7d4GEgGn5BQUHGjqMQRps=; b=SwPxtHzE0Xeq3x+PvO/kGbfQTQh9yIMvUrS2N1uZSvsHJJs41eqihlie5rTIhFUOsf xm8qorP+jjqQeSDlYK3/ydfc4/cdP7zoYwe1z7sCkgPFZOSk+d7xbvbZfItE0MYcmcGN c+3sg1EFI8ztWWh+mfpi57y2HpNmIG7oF2jGgDOH8yGsn85tHnlJJZJbJwqLuveogizR d2tMYucOJwiUFg8AsuyoFeH3ndXuCGRRK8NKhi9qYEWclaZZtXns0dZFzUO/mi7wAJ0f e8xGLlRRlPNPiTVmQsZKK68iPcYOz11OdWvC1Kwhxu3H0Wtkh9COADI9qiAd3W0PBZsG zebw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ixca5eng; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si6373333ejx.563.2020.07.02.16.13.06; Thu, 02 Jul 2020 16:13:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ixca5eng; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726877AbgGBXLv (ORCPT + 99 others); Thu, 2 Jul 2020 19:11:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726718AbgGBXLP (ORCPT ); Thu, 2 Jul 2020 19:11:15 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E76DC08C5C1 for ; Thu, 2 Jul 2020 16:11:15 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id lx13so13133131ejb.4 for ; Thu, 02 Jul 2020 16:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+XseKbQnu7OoUmmVAPCmrn7d4GEgGn5BQUHGjqMQRps=; b=Ixca5engldjXgcEdNxLVSD4XlkjxPCoIPBbnc1TZDynedLf1uRhW+w+VMyTD8l7iJN oTWsW6XVkekUWRDugDU4cJvThx+rD+73ojQVsrxv8qtKERcl62PQY3tFIiyqT3mwv0Hi 7m9WPTVQ9pDFIshPJNwBVX+qF/8wW8lsfB7QvjOgSbTP0Atns0GOKNIRsE6O8U8qXyOB KYrFABMncRS/B8sq4C3FLuQBc+767A0fYpkL5gN/vkGEiST4dO+n0rMkS+EvenvJ85zO rCknForUGDv1hfRJfV0I1yETNF4cKhLdm34ahi7ulD9UnakmniwL2UqN2bGT++GpDxIp mX8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+XseKbQnu7OoUmmVAPCmrn7d4GEgGn5BQUHGjqMQRps=; b=giiJoqG6gmneLdb/1CI/F/cBnsoEFmFQ40V3CENWaT2OmkMgE3hHKEt/Ngauz2DVnx 47XIio1z3IRja/CnLuU8mhZG15g9c0SrphtPvpqPy9X8+b0xCE5EPFniE6gwS1ZyBuTf gxp5Sm5zobUGA4c888mdzsvjJFN6XhJVzfzE/PiKta5ZRwYf2Og7spC1Gy2/dJ3WGFYz fmEPrsim4PaaNkG17XpXHGnDjODOONP1tQfMxWK9D3TIVOUeITAx3IJk9iTF2qFhoo6Z WPEyV230m2WGgP0xHtO5Q17ot2nJmF77TRQopkfgbAEw6fZYPgl6YbfqC0zigLJ9ccKW flKg== X-Gm-Message-State: AOAM5326kcB+YfLfpZkUQYQLUzTbTbumVFO3G4D27rcGNeAFi1XLmhgU r3F109QzJ2dOAAPhOJNyjbe4irF2 X-Received: by 2002:a17:906:a055:: with SMTP id bg21mr25355734ejb.516.1593731473648; Thu, 02 Jul 2020 16:11:13 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:b7f9:7600:bd38:c82d:5283:9f1]) by smtp.gmail.com with ESMTPSA id x9sm8214031ejw.28.2020.07.02.16.11.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jul 2020 16:11:13 -0700 (PDT) From: Luc Van Oostenryck To: linux-kernel@vger.kernel.org Cc: Luc Van Oostenryck Subject: [PATCH 09/15] options: move declaration of tabstop out of "token.h" Date: Fri, 3 Jul 2020 01:10:33 +0200 Message-Id: <20200702231039.55015-10-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200702231039.55015-1-luc.vanoostenryck@gmail.com> References: <20200702231039.55015-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 'tabstop' is unusual in the sense that it's one the few (the only?) variable defined via an option flag which is not declared in "lib.h" but in "token.h". This for to have to include "token.h" in the code doing the parsing of the options ... Move this declaration to "lib.h". Signed-off-by: Luc Van Oostenryck --- lib.h | 1 + token.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.h b/lib.h index 4f67958efdb9..e938f18dfc92 100644 --- a/lib.h +++ b/lib.h @@ -48,6 +48,7 @@ extern int die_if_error; extern int repeat_phase; extern int do_output; extern int gcc_major, gcc_minor, gcc_patchlevel; +extern unsigned int tabstop; extern const char *base_filename; diff --git a/token.h b/token.h index 33a6eda1cc53..c5fdf3d0c879 100644 --- a/token.h +++ b/token.h @@ -64,7 +64,6 @@ struct stream { extern int input_stream_nr; extern struct stream *input_streams; -extern unsigned int tabstop; extern int *hash_stream(const char *name); struct ident { -- 2.27.0