general: Resolve -Wmissing-prototypes warnings

This commit is contained in:
Lioncash 2020-08-14 14:48:30 -04:00
parent 68fea20020
commit 889635d17d
4 changed files with 6 additions and 1 deletions

View file

@ -506,7 +506,7 @@ void EmitX64::EmitPackedHalvingSubS16(EmitContext& ctx, IR::Inst* inst) {
ctx.reg_alloc.DefineValue(inst, minuend);
}
void EmitPackedSubAdd(BlockOfCode& code, EmitContext& ctx, IR::Inst* inst, bool hi_is_sum, bool is_signed, bool is_halving) {
static void EmitPackedSubAdd(BlockOfCode& code, EmitContext& ctx, IR::Inst* inst, bool hi_is_sum, bool is_signed, bool is_halving) {
auto args = ctx.reg_alloc.GetArgumentInfo(inst);
const auto ge_inst = inst->GetAssociatedPseudoOperation(IR::Opcode::GetGEFromOp);

View file

@ -6,6 +6,8 @@
#include <cstddef>
#include <string>
#include "backend/x64/perf_map.h"
#ifdef __linux__
#include <cstdio>