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>

View file

@ -8,6 +8,8 @@
#include <fmt/format.h>
#include "common/assert.h"
namespace Dynarmic::Common {
[[noreturn]] void Terminate(fmt::string_view msg, fmt::format_args args) {

View file

@ -3,6 +3,7 @@
* SPDX-License-Identifier: 0BSD
*/
#include "common/fp/fused.h"
#include "common/fp/mantissa_util.h"
#include "common/fp/unpacked.h"
#include "common/u128.h"