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

Side by Side Diff: src/untrusted/irt/irt_entry_ppapi.c

Issue 7605029: Extend IRT with nacl_irt_resource_open interface (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 #include "native_client/src/shared/ppapi_proxy/ppruntime.h"
8
9 static __attribute__((constructor)) void CallIrtInit() {
Roland McGrath 2011/08/16 17:32:50 Use (void) for a C function of no arguments.
halyavin 2011/08/16 18:06:25 Done.
10 if (IrtInit()) {
11 static const char fatal_msg[] =
12 "irt initialization (IRTInit) failed.\n";
13 write(2, fatal_msg, sizeof(fatal_msg) - 1);
14 _exit(-1);
15 }
16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698