From b37f82b58bd3891ccc804488b432c8e48c319625 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sun, 11 Oct 2020 20:31:05 -0700 Subject: [PATCH] Fixed compile error. --- upb/upb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upb/upb.c b/upb/upb.c index 41f4463333..eb32ba2517 100644 --- a/upb/upb.c +++ b/upb/upb.c @@ -73,12 +73,12 @@ upb_alloc upb_alloc_global = {&upb_global_allocfunc}; /* Be conservative and choose 16 in case anyone is using SSE. */ -typedef struct mem_block { +struct mem_block { struct mem_block *next; uint32_t size; uint32_t cleanups; /* Data follows. */ -} mem_block; +}; typedef struct cleanup_ent { upb_cleanup_func *cleanup;