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

Issue 22642016: [NaCL SDK] Ship sys/mount.h for newlib/pnacl. (Closed)

Created:
7 years, 4 months ago by Sam Clegg
Modified:
7 years, 4 months ago
Reviewers:
noelallen1, binji
CC:
chromium-reviews, binji
Visibility:
Public.

Description

[NaCL SDK] Ship sys/mount.h for newlib/pnacl. The primary motivation for this change was to remove the unnecessary include of kernel_wrap.h from nacl_io.h. In doing this is realised that we shouldn't be declaring the mount(2) function in nacl_io.h but instread relying on <sys/mount.h> for this. The doxygen comment that was previously attached to the mount(2) declaration was merged with nacl_io_init. R=binji@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216818

Patch Set 1 #

Total comments: 6

Patch Set 2 : nits #

Patch Set 3 : fix examples #

Patch Set 4 : add extern C #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -15 lines) Patch
M native_client_sdk/src/build_tools/sdk_files.list View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M native_client_sdk/src/examples/demo/flock/flock.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c View 1 chunk +1 line, -0 lines 0 comments Download
M native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A native_client_sdk/src/libraries/nacl_io/include/sys/mount.h View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/include/sys/termios.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/include/sys/utsname.h View 1 2 3 2 chunks +9 lines, -3 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/library.dsc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/nacl_io.h View 1 3 chunks +12 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Sam Clegg
from nethack_pepper.cc:16: /usr/local/google/home/sbc/nacl_sdk/pepper_canary/include/nacl_io/ossocket.h:12:18: error: poll.h: No such file or directory In file included from I ...
7 years, 4 months ago (2013-08-09 20:59:40 UTC) #1
Sam Clegg
7 years, 4 months ago (2013-08-09 20:59:53 UTC) #2
Sam Clegg
7 years, 4 months ago (2013-08-09 21:01:05 UTC) #3
binji
lgtm, but make sure that the mount documentation is clearly for mount. https://codereview.chromium.org/22642016/diff/1/native_client_sdk/src/libraries/nacl_io/include/sys/mount.h File native_client_sdk/src/libraries/nacl_io/include/sys/mount.h ...
7 years, 4 months ago (2013-08-09 21:10:39 UTC) #4
Sam Clegg
https://codereview.chromium.org/22642016/diff/1/native_client_sdk/src/libraries/nacl_io/include/sys/mount.h File native_client_sdk/src/libraries/nacl_io/include/sys/mount.h (right): https://codereview.chromium.org/22642016/diff/1/native_client_sdk/src/libraries/nacl_io/include/sys/mount.h#newcode6 native_client_sdk/src/libraries/nacl_io/include/sys/mount.h:6: #define LIBRARIES_NACL_IO_INCLUDE_MOUNT_H On 2013/08/09 21:10:39, binji wrote: > bad ...
7 years, 4 months ago (2013-08-09 21:19:02 UTC) #5
Sam Clegg
Fixed examples. PTAL.
7 years, 4 months ago (2013-08-10 00:57:58 UTC) #6
Sam Clegg
7 years, 4 months ago (2013-08-10 07:27:31 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r216818 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698