| Index: mojo/public/c/lib/bindings/message.c
|
| diff --git a/mojo/public/c/bindings/lib/message.c b/mojo/public/c/lib/bindings/message.c
|
| similarity index 95%
|
| rename from mojo/public/c/bindings/lib/message.c
|
| rename to mojo/public/c/lib/bindings/message.c
|
| index 6c766e3009fe7b192483c4d6a116e3bfcd0cb8b3..3efc171752417e80792ff7844c4c7fe37e399d1c 100644
|
| --- a/mojo/public/c/bindings/lib/message.c
|
| +++ b/mojo/public/c/lib/bindings/message.c
|
| @@ -2,16 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "mojo/public/c/bindings/message.h"
|
| +#include <mojo/bindings/message.h>
|
|
|
| +#include <mojo/bindings/struct.h>
|
| #include <stdint.h>
|
|
|
| -#include "mojo/public/c/bindings/struct.h"
|
| -
|
| MojomValidationResult MojomMessage_ValidateHeader(const void* in_buf,
|
| uint32_t in_buf_size) {
|
| const struct MojomStructHeader* header =
|
| - (const struct MojomStructHeader*)in_buf;
|
| + (const struct MojomStructHeader*)in_buf;
|
|
|
| if (in_buf_size < sizeof(struct MojomStructHeader) ||
|
| in_buf_size < header->num_bytes)
|
|
|