X-Git-Url: http://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/29304fc079678aea4bd99f814c75a1345bc2df4e..8e320b09c58bbf947dbdc5e0019bdaad478591fe:/src/cdecl-internal.h diff --git a/src/cdecl-internal.h b/src/cdecl-internal.h index 1fba614..ab88489 100644 --- a/src/cdecl-internal.h +++ b/src/cdecl-internal.h @@ -1,6 +1,6 @@ /* * Internal declarations for libcdecl. - * Copyright © 2021 Nick Bowler + * Copyright © 2021, 2023 Nick Bowler * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,17 +35,14 @@ static inline void cdecl__init_i18n(void) } #endif -const char *cdecl__strerror(unsigned code); -void cdecl__err(unsigned code, ...); +void cdecl__err(unsigned code, const char *fmt, ...); +void cdecl__errmsg(unsigned msg); -unsigned long cdecl__build_typemap(struct cdecl_declspec *s); struct cdecl_declspec *cdecl__normalize_specs(struct cdecl_declspec *specs); size_t cdecl__advance_(char **buf, size_t *n, size_t amount); size_t cdecl__advance(char **buf, size_t *n, size_t amount); size_t cdecl__explain_specs(char *buf, size_t n, struct cdecl_declspec *s, unsigned mask); -size_t cdecl__explain_pre_specs(char *buf, size_t n, struct cdecl_declspec *s); -size_t cdecl__explain_post_specs(char *buf, size_t n, struct cdecl_declspec *s); #endif