Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: src/trusted/validator_x86/nc_inst_state.h

Issue 6883091: Start unit testing for functions in nc_inst_state.c (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/trusted/validator_x86/nc_inst_state.h
===================================================================
--- src/trusted/validator_x86/nc_inst_state.h (revision 4944)
+++ src/trusted/validator_x86/nc_inst_state.h (working copy)
@@ -1,7 +1,7 @@
/*
- * Copyright 2009 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can
- * be found in the LICENSE file.
+ * Copyright (c) 2011 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
*/
/*
@@ -16,6 +16,8 @@
#include "native_client/src/trusted/validator_x86/ncopcode_desc.h"
#include "native_client/src/trusted/validator_x86/types_memory_model.h"
+EXTERN_C_BEGIN
+
/* The meta model of an x86 opcode instruction. */
struct NaClInst;
@@ -70,4 +72,6 @@
/* Changes opcode encodings to match those used by xed. */
void NaClChangeOpcodesToXedsModel();
+EXTERN_C_END
+
#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NC_INST_STATE_H_ */

Powered by Google App Engine
This is Rietveld 408576698