Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa56ec6c authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "packet/parser: Add pragma once to generated files"

parents 7db085c1 84983056
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -100,6 +100,8 @@ bool parse_one_file(std::filesystem::path input_file, std::filesystem::path incl
    return false;
  }

  out_file << "\n\n";
  out_file << "#pragma once\n";
  out_file << "\n\n";
  out_file << "#include <stdint.h>\n";
  out_file << "#include <string>\n";