Index: base/process_util.h |
diff --git a/base/process_util.h b/base/process_util.h |
index a36869874dc6cc07c407a26116e3bd4031fbc370..d66c48266ea666b3444a59c8957460b6f0dd740e 100644 |
--- a/base/process_util.h |
+++ b/base/process_util.h |
@@ -111,12 +111,6 @@ bool AdjustOOMScore(ProcessId process, int score); |
#endif |
#if defined(OS_POSIX) |
-// Sets all file descriptors to close on exec except for stdin, stdout |
-// and stderr. |
-// TODO(agl): remove this function |
-// WARNING: do not use. It's inherently race-prone in the face of |
-// multi-threading. |
-void SetAllFDsToCloseOnExec(); |
// Close all file descriptors, expect those which are a destination in the |
// given multimap. Only call this function in a child process where you know |
// that there aren't any other threads. |