diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-01-29 16:17:52 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-01-29 16:17:52 +0100 |
commit | cd47bd564d7fc6177ba2e231d76bf352978409b8 (patch) | |
tree | 7465150c86969e66a90e4b960bb3537485205842 /include/libHX/option.h | |
parent | 6c88f3bab0b743487b367712fa1ec27d1f87389e (diff) | |
parent | bfef0924f58eab930bdd826ac0132786abc32220 (diff) |
Update upstream source from tag 'upstream/4.10'
Update to upstream version '4.10'
with Debian dir 3c0b972fcc05149f237318f1a516c1c6bee6ce20
Diffstat (limited to 'include/libHX/option.h')
-rw-r--r-- | include/libHX/option.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/libHX/option.h b/include/libHX/option.h index 5b4bf6f..40cc6e7 100644 --- a/include/libHX/option.h +++ b/include/libHX/option.h @@ -27,12 +27,12 @@ extern struct HXformat_map *HXformat_init(void); extern void HXformat_free(struct HXformat_map *); extern int HXformat_add(struct HXformat_map *, const char *, const void *, unsigned int); -extern int HXformat_aprintf(const struct HXformat_map *, - hxmc_t **, const char *); -extern int HXformat_sprintf(const struct HXformat_map *, - char *, size_t, const char *); -extern int HXformat_fprintf(const struct HXformat_map *, - FILE *, const char *); +#define HXformat_aprintf(a, b, c) HXformat3_aprintf((a), (b), (c)) +#define HXformat_fprintf(a, b, c) HXformat3_fprintf((a), (b), (c)) +#define HXformat_sprintf(a, b, c, d) HXformat3_sprintf((a), (b), (c), (d)) +extern ssize_t HXformat3_aprintf(const struct HXformat_map *, hxmc_t **, const char *); +extern ssize_t HXformat3_fprintf(const struct HXformat_map *, FILE *, const char *); +extern ssize_t HXformat3_sprintf(const struct HXformat_map *, char *, size_t, const char *); /* * OPT.C |