utf.h: remove #include "spdk/json.h"

After the renaming of json_internal.h to utf.h, it doesn't make sense
for utf.h to include spdk/json.h.

Move the #include "spdk/json.h" to the JSON library implementation
files and remove it from utf.h.

Change-Id: I36092524c9b982fd2e931faf1b7c5d1d6a6c80c0
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/397603
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Seth Howell <seth.howell5141@gmail.com>
Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
Daniel Verkamp 2018-01-31 11:14:12 -07:00
parent b33e0caf90
commit 7d716668d6
4 changed files with 6 additions and 1 deletions

View File

@ -37,7 +37,6 @@
#include "spdk/stdinc.h" #include "spdk/stdinc.h"
#include "spdk/endian.h" #include "spdk/endian.h"
#include "spdk/json.h"
#include "spdk/likely.h" #include "spdk/likely.h"
#include "spdk/string.h" #include "spdk/string.h"

View File

@ -31,6 +31,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "spdk/json.h"
#include "spdk_internal/utf.h" #include "spdk_internal/utf.h"
#define SPDK_JSON_MAX_NESTING_DEPTH 64 #define SPDK_JSON_MAX_NESTING_DEPTH 64

View File

@ -31,6 +31,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "spdk/json.h"
#include "spdk_internal/utf.h" #include "spdk_internal/utf.h"
size_t size_t

View File

@ -31,6 +31,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "spdk/json.h"
#include "spdk_internal/utf.h" #include "spdk_internal/utf.h"
struct spdk_json_write_ctx { struct spdk_json_write_ctx {