diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-04-12 20:17:24 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-04-14 23:47:29 +0300 |
commit | 9d522225e7907b6cf631975b34f586984f698e33 (patch) | |
tree | 544e58031bc52a4b2658c02ba1a247f443378928 /src/signal_wrap.cc | |
parent | f98db78f7756b29bd0e92c469a7fb7425f1267af (diff) |
src: reduce number of exported symbols
Use `static` definitions and anonymous namespaces to reduce the
number of symbols that are exported from the `node` binary.
PR-URL: https://github.com/nodejs/node/pull/12366
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/signal_wrap.cc')
-rw-r--r-- | src/signal_wrap.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/signal_wrap.cc b/src/signal_wrap.cc index 55f15634383..36b862ce825 100644 --- a/src/signal_wrap.cc +++ b/src/signal_wrap.cc @@ -39,6 +39,8 @@ using v8::Local; using v8::Object; using v8::Value; +namespace { + class SignalWrap : public HandleWrap { public: static void Initialize(Local<Object> target, @@ -119,6 +121,7 @@ class SignalWrap : public HandleWrap { }; +} // anonymous namespace } // namespace node |