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

Unified Diff: src/trusted/validator_x86/nc_segment.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_segment.h
===================================================================
--- src/trusted/validator_x86/nc_segment.h (revision 4944)
+++ src/trusted/validator_x86/nc_segment.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.
*/
/*
@@ -13,6 +13,8 @@
#include "native_client/src/trusted/validator_x86/nc_inst_state.h"
+EXTERN_C_BEGIN
+
/* Model of a code segment. */
typedef struct NaClSegment {
/* Points the the beginning of the sequence of bytes in the code segment. */
@@ -37,4 +39,6 @@
NaClMemorySize size,
NaClSegment* segment);
+EXTERN_C_END
+
#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NC_SEGMENT_H_ */

Powered by Google App Engine
This is Rietveld 408576698