diff --git a/upb_generator/protoc-gen-upb.cc b/upb_generator/protoc-gen-upb.cc index 7678f99a62..dac5bd6383 100644 --- a/upb_generator/protoc-gen-upb.cc +++ b/upb_generator/protoc-gen-upb.cc @@ -835,15 +835,6 @@ void GenerateMessageInHeader(upb::MessageDefPtr message, output("\n"); } -void ForwardDeclareMiniTableInit(upb::MessageDefPtr message, - const Options& options, Output& output) { - if (options.bootstrap) { - output("extern const upb_MiniTable* $0();\n", MessageInitName(message)); - } else { - output("extern const upb_MiniTable $0;\n", MessageInitName(message)); - } -} - std::vector SortedForwardMessages( const std::vector& this_file_messages, const std::vector& this_file_exts) {