Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-07-31 22:07:29 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2013-07-31 22:12:06 +0400
commit8e29ce9f13f7e4b6c0296325287c05f78ff22ce0 (patch)
treec3420f601d23448e28439bbcd75c6aaf022b5d0c /src/node_buffer.h
parent3c6b5d5df1e445d080737e435675e11b102f0126 (diff)
src: lint c++ code
Diffstat (limited to 'src/node_buffer.h')
-rw-r--r--src/node_buffer.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/node_buffer.h b/src/node_buffer.h
index 37468f2d371..f8db699f792 100644
--- a/src/node_buffer.h
+++ b/src/node_buffer.h
@@ -23,11 +23,10 @@
#include "smalloc.h"
#include "v8.h"
-#ifndef NODE_BUFFER_H_
-#define NODE_BUFFER_H_
+#ifndef SRC_NODE_BUFFER_H_
+#define SRC_NODE_BUFFER_H_
namespace node {
-
namespace Buffer {
static const unsigned int kMaxLength = smalloc::kMaxLength;
@@ -58,7 +57,6 @@ NODE_EXTERN v8::Local<v8::Object> New(char* data,
NODE_EXTERN v8::Local<v8::Object> Use(char* data, uint32_t len);
} // namespace Buffer
-
} // namespace node
-#endif // NODE_BUFFER_H_
+#endif // SRC_NODE_BUFFER_H_