diff options
author | Gabriel Schulhof <gabriel.schulhof@intel.com> | 2017-05-09 13:53:29 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-05-15 20:33:06 +0200 |
commit | 276720921ba8b4428d3832867e8c6474156a75d1 (patch) | |
tree | c6bce81f7e022a0af28c8b6d2a72697a692fd169 /test/addons/hello-world-function-export | |
parent | b23d414c7ec0674ba3cbb36427e4c29dbd396338 (diff) | |
download | android-node-v8-276720921ba8b4428d3832867e8c6474156a75d1.tar.gz android-node-v8-276720921ba8b4428d3832867e8c6474156a75d1.tar.bz2 android-node-v8-276720921ba8b4428d3832867e8c6474156a75d1.zip |
addons: remove semicolons from after module definition
Having semicolons there runs counter to our documentation and illicits
warnings in pedantic mode. This removes semicolons from after uses of
NODE_MODULE and NODE_MODULE_CONTEXT_AWARE_BUILTIN.
PR-URL: https://github.com/nodejs/node/pull/12919
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Diffstat (limited to 'test/addons/hello-world-function-export')
-rw-r--r-- | test/addons/hello-world-function-export/binding.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/addons/hello-world-function-export/binding.cc b/test/addons/hello-world-function-export/binding.cc index fa2cbc59a0..c113e0489b 100644 --- a/test/addons/hello-world-function-export/binding.cc +++ b/test/addons/hello-world-function-export/binding.cc @@ -11,4 +11,4 @@ void init(v8::Local<v8::Object> exports, v8::Local<v8::Object> module) { NODE_SET_METHOD(module, "exports", Method); } -NODE_MODULE(binding, init); +NODE_MODULE(binding, init) |