summaryrefslogtreecommitdiff
path: root/include/libHX
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2023-11-21 09:56:39 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2023-11-21 09:56:39 +0100
commit4018301a59dc6f1cef1c046640f0f0e4a7839a3d (patch)
tree111b91a23e747bb2c9df60b0170914cbbd74dec3 /include/libHX
parentd391e80c7378e6604c8f84538f27df8b915ebd2a (diff)
parent45e1231149779c363c9abb78cc09e21d047c463f (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'include/libHX')
-rw-r--r--include/libHX/misc.h2
-rw-r--r--include/libHX/string.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/libHX/misc.h b/include/libHX/misc.h
index 23607d2..1d49c7f 100644
--- a/include/libHX/misc.h
+++ b/include/libHX/misc.h
@@ -59,6 +59,8 @@ extern const char *HX_dlerror(void);
*/
extern int HX_ffs(unsigned long);
extern int HX_fls(unsigned long);
+extern float HX_flprf(float, float);
+extern double HX_flpr(double, double);
#ifndef HX_HEXDUMP_DECLARATION
#define HX_HEXDUMP_DECLARATION 1
extern void HX_hexdump(FILE *, const void *, unsigned int);
diff --git a/include/libHX/string.h b/include/libHX/string.h
index 9e78cd0..4da3619 100644
--- a/include/libHX/string.h
+++ b/include/libHX/string.h
@@ -103,6 +103,7 @@ extern unsigned long long HX_strtoull_unit(const char *, char **, unsigned int e
extern char *HX_unit_size(char *out, size_t bufsize, unsigned long long size, unsigned int divisor, unsigned int cutoff);
extern char *HX_unit_size_cu(char *out, size_t bufsize, unsigned long long size, unsigned int divisor);
extern unsigned long long HX_strtoull_sec(const char *s, char **);
+extern unsigned long long HX_strtoull_nsec(const char *s, char **);
extern char *HX_unit_seconds(char *out, size_t bufsize, unsigned long long seconds, unsigned int flags);
static __inline__ void *HX_memdup(const void *buf, size_t len)