Fix missing func decls in ansi_fp.h

This commit is contained in:
LagoLunatic
2025-05-17 15:30:47 -04:00
parent aae4bdc3ca
commit 8de8cd4ac8
2 changed files with 5 additions and 3 deletions
@@ -1,6 +1,7 @@
#ifndef _MSL_COMMON_ANSI_FP_H
#define _MSL_COMMON_ANSI_FP_H
#include "dolphin/types.h"
#include "float.h"
#define SIGDIGLEN 36
@@ -22,7 +23,7 @@ typedef struct decform {
short digits;
} decform;
/* void __ull2dec(decimal*, u64);
void __ull2dec(decimal*, u64);
void __timesdec(decimal*, const decimal*, const decimal*);
void __str2dec(decimal*, const char*, short);
void __two_exp(decimal*, s16);
@@ -31,6 +32,6 @@ BOOL __less_dec(const decimal*, const decimal*);
void __minus_dec(decimal*, const decimal*, const decimal*);
void __num2dec_internal(decimal*, f64);
void __num2dec(const decform*, f64, decimal*);
f64 __dec2num(const decimal*); */
f64 __dec2num(const decimal*);
#endif
#endif
@@ -8,6 +8,7 @@
#include "stdlib.h"
#include "string.h"
#include "wchar_io.h"
#include "ansi_fp.h"
#define TARGET_FLOAT_BITS 64
#define TARGET_FLOAT_BYTES (TARGET_FLOAT_BITS / 8)