summaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2017-12-01 09:57:07 -0500
committercjihrig <cjihrig@gmail.com>2017-12-04 10:34:28 -0500
commita803bcaab8420d3c4d29dbc3d0c3b641ceafdfc7 (patch)
treef15f5396d1fb8dd48b268b6683011ddb3df58777 /src/node_internals.h
parentf29992206807ca3c483301a88688f456cbcd3bf6 (diff)
downloadandroid-node-v8-a803bcaab8420d3c4d29dbc3d0c3b641ceafdfc7.tar.gz
android-node-v8-a803bcaab8420d3c4d29dbc3d0c3b641ceafdfc7.tar.bz2
android-node-v8-a803bcaab8420d3c4d29dbc3d0c3b641ceafdfc7.zip
src: use uv_os_getpid() to get process id
This commit uses the new uv_os_getpid() method to retrieve the current process id. PR-URL: https://github.com/nodejs/node/pull/17415 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Khaidi Chu <i@2333.moe>
Diffstat (limited to 'src/node_internals.h')
-rw-r--r--src/node_internals.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index 68218abcd0..5466736200 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -248,7 +248,6 @@ void RegisterSignalHandler(int signal,
bool reset_handler = false);
#endif
-uint32_t GetProcessId();
bool SafeGetenv(const char* key, std::string* text);
std::string GetHumanReadableProcessName();