From 369d8dec71cc7d027b626807ee5ff2bda3d15981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Sat, 3 Sep 2016 22:31:58 +0200 Subject: [PATCH] Delete macro TOKEN_CHAR from public header sexp.h. --- ChangeLog | 3 +++ sexp.h | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5830d69f..1c834dd1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2016-09-03 Niels Möller <nisse@lysator.liu.se> + * 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 -- GitLab