From patchwork Wed Sep 8 07:45:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= X-Patchwork-Id: 12480503 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=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 1AF99C433EF for ; Wed, 8 Sep 2021 07:46:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F0F21610C8 for ; Wed, 8 Sep 2021 07:46:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350701AbhIHHrT (ORCPT ); Wed, 8 Sep 2021 03:47:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347842AbhIHHrS (ORCPT ); Wed, 8 Sep 2021 03:47:18 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59ED1C061757 for ; Wed, 8 Sep 2021 00:46:11 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id 22so1601961qkg.2 for ; Wed, 08 Sep 2021 00:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MP5JpvQwFJuuUYm1/KZXxQOAtAOPrTm88HToA4LvW14=; b=bHMIFKPuQ7NzpqcJC5M0hfrYzBuhBjllqQ5S6DiPKYFm1q+BNafH9TYXJmqRc6HFRT tAsL2nGzNd0GNNTbKvVyydSfqHgou7fpVhEY04tIgthHlLbieITxhT78Og+hEAGl9Wmf LYJnNPf3Ua27Bt5b64woZe4DrI7RACD+OyDrADvjqLDVhjCjly58q0Ni046LoEuf0XF5 Y89sETRKCMus5iWyC3KteWmeSFdx/kfM8c/jGyuMG6/onFsxaXhLD7baAbnWlKMQab5W ZW1zxz9EwyNgqsVs/iBaK4xetGclqIUXcX9kSHaI3IzQYoXYlZwTGe5PMZrmHnRO/+ao N/ZA== 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=MP5JpvQwFJuuUYm1/KZXxQOAtAOPrTm88HToA4LvW14=; b=jB1vJBG0TS0ngOFei2gJK4qNCM21k7fUufm9ff4fwRQVtJqD/iU8dR6Yul6D7OVRjB GRgd17Af4/1PY62JE9BiU1NOa3ySarixl2W970CChnJwwCd6jr1yP9xz0kHxkHFBattv ZshlQf0xnzN9fvpCGpjZYcEwbVPn3Zegertr/YjBtDGQ9Xqv8hLN5W/x1D6AK+YQjbgI RtPgWTx12Qy0I6R5F9sPLDsGbs0UbqsmNWwn8zLu2+p1gfB35TEQ452vkMyyAEjGAlzY F3WVbUR/VVGOgPY13whOp0KbXic31z0sqqUmyTK6R1yp7p31u0k+0+F85bTZAoMR3PEl L9MQ== X-Gm-Message-State: AOAM533domJgl1wqxWg1XMqY/RAnUQ0UYpzdwab5V14jnxrja0So47yR J1kQHcr74UAhgrnWHYxIhy2MN9Qf4bw= X-Google-Smtp-Source: ABdhPJxhbTN/34WJ0ksbhr6n9qFKuxTFzukb6uj4X6reEkh0VyzkkmEQ6fWucQCXp19JnXkDCtlirw== X-Received: by 2002:a37:a00b:: with SMTP id j11mr2145020qke.337.1631087170376; Wed, 08 Sep 2021 00:46:10 -0700 (PDT) Received: from carlos-mbp.lan (104-1-92-200.lightspeed.sntcca.sbcglobal.net. [104.1.92.200]) by smtp.gmail.com with ESMTPSA id v14sm1122935qkb.88.2021.09.08.00.46.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Sep 2021 00:46:10 -0700 (PDT) From: =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= To: git@vger.kernel.org Cc: hanwen@google.com, =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= Subject: [PATCH 1/4] fixup! reftable: reading/writing blocks Date: Wed, 8 Sep 2021 00:45:54 -0700 Message-Id: <20210908074557.38141-2-carenas@gmail.com> X-Mailer: git-send-email 2.33.0.481.g26d3bed244 In-Reply-To: <20210908074557.38141-1-carenas@gmail.com> References: <20210908074557.38141-1-carenas@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org move the definition to "system.h" because it needs to be accessible also to the compat file. --- reftable/block.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/reftable/block.c b/reftable/block.c index eb5268dd3a..11387b260a 100644 --- a/reftable/block.c +++ b/reftable/block.c @@ -15,15 +15,6 @@ license that can be found in the LICENSE file or at #include "system.h" #include -#ifdef NO_UNCOMPRESS2 -/* - * This is uncompress2, which is only available in zlib >= 1.2.9 - * (released as of early 2017) - */ -int uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, - uLong *sourceLen); -#endif - int header_size(int version) { switch (version) { From patchwork Wed Sep 8 07:45:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= X-Patchwork-Id: 12480505 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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 9FD75C433EF for ; Wed, 8 Sep 2021 07:46:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 895A360F6C for ; Wed, 8 Sep 2021 07:46:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350934AbhIHHrb (ORCPT ); Wed, 8 Sep 2021 03:47:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347842AbhIHHrU (ORCPT ); Wed, 8 Sep 2021 03:47:20 -0400 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AD97C061575 for ; Wed, 8 Sep 2021 00:46:12 -0700 (PDT) Received: by mail-qt1-x82c.google.com with SMTP id c19so1089804qte.7 for ; Wed, 08 Sep 2021 00:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8jYEYdb4/+oB77CrelK+lId/igW+AKA0EO9Jn9Fwucs=; b=ArfE+waGWMC+cBuDtIU90EAUmVeMIrTi+mofovds7s/viZE+VGXQOXfem4lHRQCyvM oHoggXTVrbdxD7GU0r4EPnUmwDMnqHA3uNtVfzCZ0UpYrkiAlJlvn1LfyD6arWjzejie hzjcmhnlViu1323duCIkUSDtOstEoo2qZ6sTAjzRICEzMCF6x70kPPHgWbW0oP0AArHY ViZ4X6K01bh/0PPaHAKFFE/rCLwfiN4cvyc0rgF2VFA3WwG5+1DbKBOFZh0eU9pQ6K99 bd00bMXICCaFgGd2gIad6o92CRDNHvGYr6WOA8uGqO7svxb32Z9EOCgkXy58CFGZ5iLI cfiw== 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=8jYEYdb4/+oB77CrelK+lId/igW+AKA0EO9Jn9Fwucs=; b=P+eFzMdG5CvNKTijm6QKu2TaMTnHHRfwFFMqROigIivIRntHWXILt07IHzyIlq5nC8 YnfY5TFMiaa/8obBEuYdC6ddSD6wuvrYbohrUqH/8PRCb4muV0irBbhwuHgzW/DJd/tp 0w2FgHsJxQoQDVMZedOfuarnbWn68uKNkLMnkcRNz6iChtwR9fB/HlXoyheDSJHKzvC9 5ap1I2GmQhB5INWp87YpZ0tNm7+ocHzW/kHgfiWJospXylYkCdIZWlldZZ2atWjgIPOG /pkV8gQizuneEf7r3YPKEsO2N3WphcwOKLpdYQ6cUelx+lBUatRvoGsXGVl/OHn4uqTq hcCg== X-Gm-Message-State: AOAM5332IiMEMn42VkH2MaMwTHop4cLD81SntFdCPEXhijrHNFtssEhd g3wboC7+QJtkWZnweG/sH9GviE1kdHU= X-Google-Smtp-Source: ABdhPJyu/jPZSukGFDLC9FMB+5vB0nEDRy3oWh4s/x7TnvS2YdnfHs+t1NKKaZcTIZO1XqAvbMTknA== X-Received: by 2002:ac8:750d:: with SMTP id u13mr2469874qtq.74.1631087171596; Wed, 08 Sep 2021 00:46:11 -0700 (PDT) Received: from carlos-mbp.lan (104-1-92-200.lightspeed.sntcca.sbcglobal.net. [104.1.92.200]) by smtp.gmail.com with ESMTPSA id v14sm1122935qkb.88.2021.09.08.00.46.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Sep 2021 00:46:11 -0700 (PDT) From: =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= To: git@vger.kernel.org Cc: hanwen@google.com, =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= Subject: [PATCH 2/4] fixup! reftable: utility functions Date: Wed, 8 Sep 2021 00:45:55 -0700 Message-Id: <20210908074557.38141-3-carenas@gmail.com> X-Mailer: git-send-email 2.33.0.481.g26d3bed244 In-Reply-To: <20210908074557.38141-1-carenas@gmail.com> References: <20210908074557.38141-1-carenas@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org remove forward declaration for strbuf that is no longer needed once strbuf.h was included. add a conditional declaration for the zlib function that then can be used in both the compat definition and the block.c user without triggering -Wmissing-prototypes: compat/zlib-uncompress2.c:36:13: error: no previous prototype for function 'uncompress2' [-Werror,-Wmissing-prototypes] int ZEXPORT uncompress2 ( ^ compat/zlib-uncompress2.c:36:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int ZEXPORT uncompress2 ( ^ static 1 error generated. gmake: *** [Makefile:2571: compat/zlib-uncompress2.o] Error 1 Signed-off-by: Carlo Marcelo Arenas Belón --- reftable/system.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/reftable/system.h b/reftable/system.h index 4f62827b83..4907306c0c 100644 --- a/reftable/system.h +++ b/reftable/system.h @@ -18,7 +18,15 @@ license that can be found in the LICENSE file or at #include -struct strbuf; +#ifdef NO_UNCOMPRESS2 +/* + * This is uncompress2, which is only available in zlib >= 1.2.9 + * (released as of early 2017) + */ +int uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, + uLong *sourceLen); +#endif + int hash_size(uint32_t id); #endif From patchwork Wed Sep 8 07:45:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= X-Patchwork-Id: 12480507 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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 B2EA4C433F5 for ; Wed, 8 Sep 2021 07:46:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 95DAA60F6C for ; Wed, 8 Sep 2021 07:46:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350889AbhIHHrf (ORCPT ); Wed, 8 Sep 2021 03:47:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350727AbhIHHrU (ORCPT ); Wed, 8 Sep 2021 03:47:20 -0400 Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94286C061757 for ; Wed, 8 Sep 2021 00:46:13 -0700 (PDT) Received: by mail-qk1-x72a.google.com with SMTP id w78so1594853qkb.4 for ; Wed, 08 Sep 2021 00:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Es/7N8bt8bTP6WN1xTRAF+mQfXZtkscT+N5XtCt8L8Y=; b=g25kJ85LZOVUr5hdq5ZpRu/mWYqcfgSvMoQwCVKHnX/AbNA8ytzGxztZXbMDJ3zjNV Ch/mkcZ0PPxI1GDi4Gl2lkYvDmPFPE6t5dGlBgdNqXh3YNVAO08BJioVuF/yARNQd5ox j3bTDdSYUJIkiVu5/4rMexrgRqiHMgPOanWPkzftTuDiLy9wC3q/8m2lh0XQV/mPTxuu 7/lcsq+lMh/ixcQE9VL9EvM/3gkG6lYcsHxG7LewcRtqJD2xgEGex+bMHkXfhrEPuoRB Skx9w8J9Dgog/cpJdRdIw/rhiKuBeGBNMvLZ2iGB4d2LP9E4jtu9PO3Mq891osGmtH2p VVPA== 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=Es/7N8bt8bTP6WN1xTRAF+mQfXZtkscT+N5XtCt8L8Y=; b=GuE3GUyf7kErOGTwq6dRlE/ZUeKtM4bxXVAK3NAjaJAwZM6yloPNaI2rT0UBSgRVN3 v9HlLP5TZ+u6gZ4ufc95RAvD89Bcb1A0hN+NjKFcTZ1hd9AXGQlR742Xvssqjry+OS8Y mJjKxS4UJqq//0AK+5seT3X+uIhfzmJwRL1923cc8UAcGRYjwkweJAwGxhCVTCqKthKA nvV+dLnaxFYq6V2fa7TqsysoCNkbAjFIC1EsOj4wxDPgORB0HQ+ozdTX0Uh3ooyDtSiV V3kSZZh1DFuUpc/zQHvAAjVqLmMkOizT6ueAh3FY+h8AmnxrjwUI/42Z3Jt3M0Q13p5O vRbg== X-Gm-Message-State: AOAM531nu4v8KL9bvGiTpv/0N7lFJQf/H6pJukexS54adfJ0A3J1puOG yDYchd89ryKsfXImNn/DWAM0Z6uZh0Y= X-Google-Smtp-Source: ABdhPJwx0PW5k0rw3h2jQTDMDdGsIllOeEtJcVdYCpE1x0xMdQkxDBPf0kYeP0/0JF0S5oELnSOVEQ== X-Received: by 2002:a05:620a:214a:: with SMTP id m10mr2035943qkm.374.1631087172609; Wed, 08 Sep 2021 00:46:12 -0700 (PDT) Received: from carlos-mbp.lan (104-1-92-200.lightspeed.sntcca.sbcglobal.net. [104.1.92.200]) by smtp.gmail.com with ESMTPSA id v14sm1122935qkb.88.2021.09.08.00.46.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Sep 2021 00:46:12 -0700 (PDT) From: =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= To: git@vger.kernel.org Cc: hanwen@google.com, =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= Subject: [PATCH 3/4] fixup! Provide zlib's uncompress2 from compat/zlib-compat.c Date: Wed, 8 Sep 2021 00:45:56 -0700 Message-Id: <20210908074557.38141-4-carenas@gmail.com> X-Mailer: git-send-email 2.33.0.481.g26d3bed244 In-Reply-To: <20210908074557.38141-1-carenas@gmail.com> References: <20210908074557.38141-1-carenas@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org while at it, make sure z_conf is defined to null (usually coming from zconf.h, but optional and otherwise to fail with older zlib versions) Signed-off-by: Carlo Marcelo Arenas Belón --- compat/zlib-uncompress2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compat/zlib-uncompress2.c b/compat/zlib-uncompress2.c index 23b72b49c4..722610b971 100644 --- a/compat/zlib-uncompress2.c +++ b/compat/zlib-uncompress2.c @@ -8,6 +8,9 @@ */ +#include "../reftable/system.h" +#define z_const + /* * Copyright (C) 1995-2003, 2010, 2014, 2016 Jean-loup Gailly, Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h From patchwork Wed Sep 8 07:45:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= X-Patchwork-Id: 12480509 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=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 85AB4C433EF for ; Wed, 8 Sep 2021 07:46:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5E23760F6C for ; Wed, 8 Sep 2021 07:46:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351060AbhIHHrm (ORCPT ); Wed, 8 Sep 2021 03:47:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350731AbhIHHrV (ORCPT ); Wed, 8 Sep 2021 03:47:21 -0400 Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73AE5C06175F for ; Wed, 8 Sep 2021 00:46:14 -0700 (PDT) Received: by mail-qk1-x72e.google.com with SMTP id 22so1602048qkg.2 for ; Wed, 08 Sep 2021 00:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fggER/0eLEI+c7gd088LckwH+XWNUrajimbW0gPCslE=; b=duZ+j6VN36GdK7P+c9qFIzRcvySHxFj9vjLbl9/2NNvjo8QMQCLhZ0YZxC1MXu24hC 4TqgsMkccSJcckxhigQxLYl6cNJu9qf1lkkEapojXOEgxsCqu8irkuyaKNtMFCy5ZMlI GczDZMw/pocsnxo6ltmcJzV8SAKaXJPgTqbP4oQMtbl0rB/PI3nsONLt6UZEQBdcrBeq v1evUVdmceXVzIPz4VMDk2CPy/GX+PZMJM5UM5mkw9CmTDbJGcpN2vVoJcoGgryXV5YC 9Roo5k47ykGsxr08SI0/1ZpdUfq3ZM/1PVlD358LDcP0J3m1LbVuplHDkbtGYjOiI4zK WNHQ== 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=fggER/0eLEI+c7gd088LckwH+XWNUrajimbW0gPCslE=; b=TgcYEI90dQt0lFuZgfzzCpxjRdLwxRRGIcYsAn4QUFmuANa+RFzFBw6jYwnpsX+4z9 dpNDZb0S4hihOxj1e9nt+k+/actACxTQO+PAz+4og1ry/sftKrJxqw7QFqX1QySAxL4L wwquCfcMHAc14RsaxoRK9D88wnY4PTmVPUbPLNnPIoJozO+LMzt/K5NWbW0tB40g2ap+ 8hD75eV6zzW/Fc6io7f6Y+Kxr5XPtxvVhL/HJSYRji9S3YLE4s2vG1cc9qkDTOHXULXv PyYkANr4RxfYeoPqhrtsBPCUQemX3dT2AYLvwYT05Ga6FwVtRNlGIBLYzKwjPyMfz7xf gXCA== X-Gm-Message-State: AOAM530zcGg3yb7JubSxcs9tPcDhPtBLAn9vCAAspB4mlJcuB9dQjgJ9 fiqeTVPPp6HB5is+DmP0TetOc1BtLzM= X-Google-Smtp-Source: ABdhPJzOev25iscn/LlbYovlAMvh3gyxPN7IN9KNGCjFDM0vi4Nm+3VF7KMu1AhhnKWziEx1CWFHYw== X-Received: by 2002:a05:620a:166d:: with SMTP id d13mr2030961qko.491.1631087173497; Wed, 08 Sep 2021 00:46:13 -0700 (PDT) Received: from carlos-mbp.lan (104-1-92-200.lightspeed.sntcca.sbcglobal.net. [104.1.92.200]) by smtp.gmail.com with ESMTPSA id v14sm1122935qkb.88.2021.09.08.00.46.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Sep 2021 00:46:13 -0700 (PDT) From: =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= To: git@vger.kernel.org Cc: hanwen@google.com, =?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= Subject: [PATCH 4/4] fixup! reftable: utility functions Date: Wed, 8 Sep 2021 00:45:57 -0700 Message-Id: <20210908074557.38141-5-carenas@gmail.com> X-Mailer: git-send-email 2.33.0.481.g26d3bed244 In-Reply-To: <20210908074557.38141-1-carenas@gmail.com> References: <20210908074557.38141-1-carenas@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org --- reftable/basics.h | 1 - 1 file changed, 1 deletion(-) diff --git a/reftable/basics.h b/reftable/basics.h index 096b36862b..0645b74196 100644 --- a/reftable/basics.h +++ b/reftable/basics.h @@ -54,7 +54,6 @@ void reftable_free(void *p); void *reftable_calloc(size_t sz); /* Find the longest shared prefix size of `a` and `b` */ -struct strbuf; int common_prefix_size(struct strbuf *a, struct strbuf *b); #endif