cleanup: include/: move zephyr/jwt.h to data/jwt.h

move zephyr/jwt.h to data/jwt.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-25 15:51:04 -04:00
commit 4be2e9ebb6
5 changed files with 108 additions and 93 deletions

View file

@ -8,7 +8,7 @@
#include <zephyr/types.h>
#include <errno.h>
#include <zephyr/jwt.h>
#include <data/jwt.h>
#include <data/json.h>
#ifdef CONFIG_JWT_SIGN_RSA