Skip to content

Commit

Permalink
make: remove node_dtrace from cpplint excludes
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node-v0.x-archive#8741
Reviewed-By: Fedor Indutny <[email protected]>
  • Loading branch information
Julien Gilli authored and cjihrig committed Mar 16, 2015
1 parent 30666f2 commit 68d4bed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,6 @@ jslint:
PYTHONPATH=tools/closure_linter/:tools/gflags/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js

CPPLINT_EXCLUDE ?=
CPPLINT_EXCLUDE += src/node_dtrace.cc
CPPLINT_EXCLUDE += src/node_lttng.cc
CPPLINT_EXCLUDE += src/node_root_certs.h
CPPLINT_EXCLUDE += src/node_lttng_tp.h
Expand Down
10 changes: 5 additions & 5 deletions src/node_dtrace.cc
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
#include "util.h"
#include "node_dtrace.h"

#ifdef HAVE_DTRACE
#include "node_dtrace.h"
#include "node_provider.h"
#include <string.h>
#elif HAVE_ETW
#include "node_dtrace.h"
#include <string.h>
#include "node_win32_etw_provider.h"
#include "node_win32_etw_provider-inl.h"
#else
Expand All @@ -29,6 +25,10 @@
#include "env.h"
#include "env-inl.h"

#include "util.h"

#include <string.h>

namespace node {

using v8::FunctionCallbackInfo;
Expand Down

0 comments on commit 68d4bed

Please sign in to comment.