Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
|
Mark Seaborn
2014/01/10 13:11:20
This file should use the standard #ifndef+#define
hidehiko
2014/01/15 03:50:44
Oops. Good catch. Fixed.
| |
| 5 extern "C" { | |
|
Mark Seaborn
2014/01/10 13:11:20
'extern "C"' doesn't affect struct declarations, s
hidehiko
2014/01/15 03:50:44
Done.
| |
| 6 struct stat; | |
| 7 struct nacl_abi_stat; | |
| 8 } | |
| 9 | |
| 10 namespace nacl { | |
| 11 namespace nonsfi { | |
| 12 | |
| 13 // Converts the stat struct from host's to NaCl's ABI. | |
| 14 void StatToNaClAbiStat( | |
| 15 const struct stat& host_stat, struct nacl_abi_stat* nacl_stat); | |
| 16 | |
| 17 } // namespace nonsfi | |
| 18 } // namespace nacl | |
| OLD | NEW |