| Index: src/trusted/validator_ragel/unreviewed/validator.h
|
| ===================================================================
|
| --- src/trusted/validator_ragel/unreviewed/validator.h (revision 9911)
|
| +++ src/trusted/validator_ragel/unreviewed/validator.h (working copy)
|
| @@ -7,7 +7,7 @@
|
| #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RAGEL_VALIDATOR_H_
|
| #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_RAGEL_VALIDATOR_H_
|
|
|
| -#include "native_client/src/trusted/validator_ragel/unreviewed/decoder.h"
|
| +#include "native_client/src/trusted/validator_ragel/decoder.h"
|
|
|
| EXTERN_C_BEGIN
|
|
|
| @@ -107,10 +107,10 @@
|
| * return TRUE;
|
| * ...
|
| */
|
| -typedef Bool (*validation_callback_func) (const uint8_t *instruction_start,
|
| - const uint8_t *instruction_end,
|
| - uint32_t validation_info,
|
| - void *callback_data);
|
| +typedef Bool (*ValidationCallbackFunc) (const uint8_t *instruction_start,
|
| + const uint8_t *instruction_end,
|
| + uint32_t validation_info,
|
| + void *callback_data);
|
|
|
| /*
|
| * Returns whether given piece of code is valid.
|
| @@ -128,7 +128,7 @@
|
| Bool ValidateChunkAMD64(const uint8_t *data, size_t size,
|
| enum validation_options options,
|
| const NaClCPUFeaturesX86 *cpu_features,
|
| - validation_callback_func user_callback,
|
| + ValidationCallbackFunc user_callback,
|
| void *callback_data);
|
|
|
| /*
|
| @@ -137,7 +137,7 @@
|
| Bool ValidateChunkIA32(const uint8_t *data, size_t size,
|
| enum validation_options options,
|
| const NaClCPUFeaturesX86 *cpu_features,
|
| - validation_callback_func user_callback,
|
| + ValidationCallbackFunc user_callback,
|
| void *callback_data);
|
|
|
| EXTERN_C_END
|
|
|