Skip to content

Commit d32b48f

Browse files
author
Naoki INADA
committed
Remove duplicated values.
1 parent f2d07e5 commit d32b48f

7 files changed

Lines changed: 1276 additions & 41 deletions

File tree

include

Lines changed: 0 additions & 1 deletion
This file was deleted.

msgpack/pack.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include <stddef.h>
2020
#include <stdlib.h>
21-
#include "msgpack/pack_define.h"
21+
#include "pack_define.h"
2222

2323
#ifdef __cplusplus
2424
extern "C" {
@@ -82,7 +82,7 @@ static inline int msgpack_pack_raw_body(msgpack_packer* pk, const void* b, size_
8282
#define msgpack_pack_append_buffer(user, buf, len) \
8383
return (*(user)->callback)((user)->data, (const char*)buf, len)
8484

85-
#include "msgpack/pack_template.h"
85+
#include "pack_template.h"
8686

8787
static inline void msgpack_packer_init(msgpack_packer* pk, void* data, msgpack_packer_write callback)
8888
{

msgpack/pack_define.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* MessagePack unpacking routine template
3+
*
4+
* Copyright (C) 2008-2009 FURUHASHI Sadayuki
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
#ifndef MSGPACK_PACK_DEFINE_H__
19+
#define MSGPACK_PACK_DEFINE_H__
20+
21+
#include <stddef.h>
22+
#include <stdint.h>
23+
#include <limits.h>
24+
25+
#endif /* msgpack/pack_define.h */
26+

0 commit comments

Comments
 (0)