summaryrefslogtreecommitdiff
path: root/include/libHX/misc.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2025-11-22 14:50:27 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2025-11-22 14:50:27 +0100
commit811c5336e00e3357afeb0909a4d182d0c3bb6ad4 (patch)
treefe10b6cb9309bef50e7458c5c203905b43529d24 /include/libHX/misc.h
parent62ac2dd91f81d8584d5ab585639dfe29eefc3e20 (diff)
parent80101a458f40cc35f39e890baba1a891a83009e7 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'include/libHX/misc.h')
-rw-r--r--include/libHX/misc.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/libHX/misc.h b/include/libHX/misc.h
index ac381dc..b2d5de8 100644
--- a/include/libHX/misc.h
+++ b/include/libHX/misc.h
@@ -63,7 +63,7 @@ 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);
+extern void HX_hexdump(FILE *, const void *, size_t);
#endif
extern bool HX_timespec_isneg(const struct timespec *);
extern struct timespec *HX_timespec_neg(struct timespec *,
@@ -104,16 +104,6 @@ static __inline__ unsigned int HX_zveclen(const char *const *args)
#ifdef __cplusplus
} /* extern "C" */
-
-extern "C++" {
-
-template<typename type> static __inline__ type
-HX_dlsym(void *handle, const char *symbol)
-{
- return reinterpret_cast<type>(HX_dlsym(handle, symbol));
-}
-
-} /* extern "C++" */
#endif
#endif /* _LIBHX_MISC_H */