diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2013-07-31 22:07:29 +0400 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2013-07-31 22:12:06 +0400 |
commit | 8e29ce9f13f7e4b6c0296325287c05f78ff22ce0 (patch) | |
tree | c3420f601d23448e28439bbcd75c6aaf022b5d0c /src/node_win32_etw_provider.h | |
parent | 3c6b5d5df1e445d080737e435675e11b102f0126 (diff) |
src: lint c++ code
Diffstat (limited to 'src/node_win32_etw_provider.h')
-rw-r--r-- | src/node_win32_etw_provider.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/node_win32_etw_provider.h b/src/node_win32_etw_provider.h index b47b87cf48c..d0a41fe5dcd 100644 --- a/src/node_win32_etw_provider.h +++ b/src/node_win32_etw_provider.h @@ -19,16 +19,14 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#ifndef SRC_ETW_H_ -#define SRC_ETW_H_ +#ifndef SRC_NODE_WIN32_ETW_PROVIDER_H_ +#define SRC_NODE_WIN32_ETW_PROVIDER_H_ #include <evntprov.h> #include "node_dtrace.h" namespace node { -using namespace v8; - #if defined(_MSC_VER) # define INLINE __forceinline #else @@ -70,8 +68,8 @@ INLINE void NODE_NET_SERVER_CONNECTION(node_dtrace_connection_t* conn, const char *remote, int port, int fd); INLINE void NODE_NET_STREAM_END(node_dtrace_connection_t* conn, const char *remote, int port, int fd); -INLINE void NODE_GC_START(GCType type, GCCallbackFlags flags); -INLINE void NODE_GC_DONE(GCType type, GCCallbackFlags flags); +INLINE void NODE_GC_START(v8::GCType type, v8::GCCallbackFlags flags); +INLINE void NODE_GC_DONE(v8::GCType type, v8::GCCallbackFlags flags); INLINE void NODE_V8SYMBOL_REMOVE(const void* addr1, const void* addr2); INLINE void NODE_V8SYMBOL_MOVE(const void* addr1, const void* addr2); INLINE void NODE_V8SYMBOL_RESET(); @@ -92,5 +90,6 @@ INLINE bool NODE_V8SYMBOL_ENABLED(); #define NODE_NET_SOCKET_READ(arg0, arg1) #define NODE_NET_SOCKET_WRITE(arg0, arg1) -} -#endif // SRC_ETW_H_ +} // namespace node + +#endif // SRC_NODE_WIN32_ETW_PROVIDER_H_ |