diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2023-06-26 22:56:52 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2023-06-26 22:56:52 +0000 |
| commit | b6a943f7197af1a5eb6bb028b9b808ec5016e30c (patch) | |
| tree | cfbb91e940dd89d0e1d46095f43c228d7d079fa0 /lib/roken/parse_bytes.h | |
| parent | 6f4e10db3298f6d65e1e646fe52aaafc3682b788 (diff) | |
heimdal: Vendor import f62e2f278vendor/heimdal/7.8.0-2023-06-10-f62e2f278vendor/heimdal
Heimdal 7.8.0 does not support OpenSSL 3.0. 7.9.0 will but it hasn't
been released yet. We are importing f62e2f278 for its OpenSSL 3.0
support.
Diffstat (limited to 'lib/roken/parse_bytes.h')
| -rw-r--r-- | lib/roken/parse_bytes.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/lib/roken/parse_bytes.h b/lib/roken/parse_bytes.h index 8a88eca49b1d..5148fc603989 100644 --- a/lib/roken/parse_bytes.h +++ b/lib/roken/parse_bytes.h @@ -36,23 +36,15 @@ #ifndef __PARSE_BYTES_H__ #define __PARSE_BYTES_H__ -#ifndef ROKEN_LIB_FUNCTION -#ifdef _WIN32 -#define ROKEN_LIB_FUNCTION -#define ROKEN_LIB_CALL __cdecl -#else -#define ROKEN_LIB_FUNCTION -#define ROKEN_LIB_CALL -#endif -#endif +#include <roken.h> -ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL -parse_bytes (const char *s, const char *def_unit); +ROKEN_LIB_FUNCTION int64_t ROKEN_LIB_CALL +parse_bytes(const char *s, const char *def_unit); ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL -unparse_bytes (int t, char *s, size_t len); +unparse_bytes(int64_t t, char *s, size_t len); ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL -unparse_bytes_short (int t, char *s, size_t len); +unparse_bytes_short(int64_t t, char *s, size_t len); #endif /* __PARSE_BYTES_H__ */ |
