From fd3e794a2e0d054f7efe7d626cec764ab78a4469 Mon Sep 17 00:00:00 2001 From: Aryaman Jain Date: Mon, 5 Aug 2024 20:07:06 +0000 Subject: [PATCH] fix: add back proto end --- src/disco/bank/fd_txncache.c | 3 --- src/disco/bank/fd_txncache.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/disco/bank/fd_txncache.c b/src/disco/bank/fd_txncache.c index ccbd390c95..373d4bb339 100644 --- a/src/disco/bank/fd_txncache.c +++ b/src/disco/bank/fd_txncache.c @@ -6,9 +6,6 @@ #define SORT_BEFORE(a,b) (a)<(b) #include "../../util/tmpl/fd_sort.c" -#pragma GCC diagnostic ignored "-Wformat" -#pragma GCC diagnostic ignored "-Wformat-extra-args" - /* The number of transactions in each page. This needs to be high enough to amoritze the cost of caller code reserving pages from, and returning pages to the pool, but not so high that the memory diff --git a/src/disco/bank/fd_txncache.h b/src/disco/bank/fd_txncache.h index 3823769411..7e257d84c9 100644 --- a/src/disco/bank/fd_txncache.h +++ b/src/disco/bank/fd_txncache.h @@ -393,4 +393,6 @@ int fd_txncache_is_rooted_slot( fd_txncache_t * tc, ulong slot ); +FD_PROTOTYPES_END + #endif /* HEADER_fd_src_disco_bank_txncache_h */