]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Delete macro TOKEN_CHAR from public header sexp.h.
authorNiels Möller <nisse@lysator.liu.se>
Sat, 3 Sep 2016 20:31:58 +0000 (22:31 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 3 Sep 2016 20:31:58 +0000 (22:31 +0200)
ChangeLog
sexp.h

index 5830d69ffea45de246d8ad5f2bf2d0ea1e4ffa68..1c834dd13b8a66eab365643ddfc94cc1694fbdb8 100644 (file)
--- 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 039a537b4e9eb2ffcace7dc628d466a5927e01cf..f6b3df646d4f497474158902f50fb3f177b66d0a 100644 (file)
--- 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