DescriptionCleanup: Remove the C version of GetUrandomFD()
I originally added this in a #includable-from-C header so that it
could be #included from NaCl-side code. However, having NaCl #include
Chromium headers is not a clean interface, and this has since been
replaced by runtime dependency injection.
We move the function to a C++ header and put it into a namespace.
Also fix the error return value for UrandomFD() so that it can't be
confused with stdin.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=2655
TEST=build
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=139537
Patch Set 1 #Patch Set 2 : Fix Mac #Patch Set 3 : Rebase #Patch Set 4 : Copyright #
Messages
Total messages: 2 (0 generated)
|