diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2014-02-01 00:12:42 +0400 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2014-02-01 00:45:55 +0400 |
commit | 643a7d8c1605b61facc570a6f8b8b0ed0cf89eb7 (patch) | |
tree | 408cb6bc77d03b2a42540780e44fb040e95e1f24 /src/node_dtrace.cc | |
parent | fac8f396ccc2d7133058848bd2531ee0fb525130 (diff) | |
download | node-new-643a7d8c1605b61facc570a6f8b8b0ed0cf89eb7.tar.gz |
dtrace: fix arguments warning
Add enough arguments to `NODE_NET_SOCKET_READ()` and
`NODE_NET_SOCKET_WRITE()` stubs.
Diffstat (limited to 'src/node_dtrace.cc')
-rw-r--r-- | src/node_dtrace.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_dtrace.cc b/src/node_dtrace.cc index 4318e8b49c..d5ac60c3fc 100644 --- a/src/node_dtrace.cc +++ b/src/node_dtrace.cc @@ -49,9 +49,9 @@ #define NODE_NET_SERVER_CONNECTION_ENABLED() (0) #define NODE_NET_STREAM_END(arg0) #define NODE_NET_STREAM_END_ENABLED() (0) -#define NODE_NET_SOCKET_READ(arg0, arg1) +#define NODE_NET_SOCKET_READ(arg0, arg1, arg2, arg3, arg4) #define NODE_NET_SOCKET_READ_ENABLED() (0) -#define NODE_NET_SOCKET_WRITE(arg0, arg1) +#define NODE_NET_SOCKET_WRITE(arg0, arg1, arg2, arg3, arg4) #define NODE_NET_SOCKET_WRITE_ENABLED() (0) #define NODE_GC_START(arg0, arg1) #define NODE_GC_DONE(arg0, arg1) |