From: Niels Möller Date: Sat, 3 Sep 2016 20:31:58 +0000 (+0200) Subject: Delete macro TOKEN_CHAR from public header sexp.h. X-Git-Tag: nettle_3.3_release_20161001~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=369d8dec71cc7d027b626807ee5ff2bda3d15981;p=thirdparty%2Fnettle.git Delete macro TOKEN_CHAR from public header sexp.h. --- diff --git a/ChangeLog b/ChangeLog index 5830d69f..1c834dd1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2016-09-03 Niels Möller + * sexp.h (TOKEN_CHAR): Delete macro and declaration of + sexp_token_chars. They belong in tools/misc.h, not here. + * examples/ecc-benchmark.c (die): Deleted unused function. * testsuite/testutils.h (US): New macro, for unsigned string diff --git a/sexp.h b/sexp.h index 039a537b..f6b3df64 100644 --- a/sexp.h +++ b/sexp.h @@ -206,12 +206,6 @@ size_t sexp_transport_vformat(struct nettle_buffer *buffer, const char *format, va_list args); -/* Classification for advanced syntax. */ -extern const char -sexp_token_chars[0x80]; - -#define TOKEN_CHAR(c) ((c) < 0x80 && sexp_token_chars[(c)]) - #ifdef __cplusplus } #endif