summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/rbcompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/rbcompat.h')
-rw-r--r--apps/plugins/puzzles/rbcompat.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/apps/plugins/puzzles/rbcompat.h b/apps/plugins/puzzles/rbcompat.h
index c733659..148aaef 100644
--- a/apps/plugins/puzzles/rbcompat.h
+++ b/apps/plugins/puzzles/rbcompat.h
@@ -7,26 +7,24 @@ int puts_wrapper(const char *s);
double sin_wrapper(double rads);
double cos_wrapper(double rads);
int vsprintf_wrapper(char *s, const char *fmt, va_list ap);
-double fabs_wrapper(double n);
-double floor_wrapper(double n);
+float fabs_wrapper(float n);
+float floor_wrapper(float n);
-double atan_wrapper(double x);
-double atan2_wrapper(double y, double x);
-double sqrt_wrapper(double x);
+float atan_wrapper(float x);
+float atan2_wrapper(float y, float x);
+float sqrt_wrapper(float x);
long strtol_wrapper(const char *nptr, char **endptr, int base);
int64_t strtoq_wrapper(const char *nptr, char **endptr, int base);
uint64_t strtouq_wrapper(const char *nptr, char **endptr, int base);
-double pow_wrapper(double x, double y);
-double scalbn_wrapper (double x, int n);
-double ceil_wrapper(double x);
+float pow_wrapper(float x, float y);
+float ceil_wrapper(float x);
size_t strspn_wrapper(const char *s1, const char *s2);
size_t strcspn_wrapper(const char *s1, const char *s2);
int sscanf_wrapper(const char *ibuf, const char *fmt, ...);
-double atof_wrapper(char *s);
+double atof_wrapper(const char *s);
double acos_wrapper(double x);
-
#define acos acos_wrapper
#define atan atan_wrapper
#define atan2 atan2_wrapper