summaryrefslogtreecommitdiff
path: root/include/libHX/misc.h
diff options
context:
space:
mode:
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 */