0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

dtrace: workaround linker bug on FreeBSD

This commit is contained in:
Fedor Indutny 2014-02-21 00:56:17 +04:00
parent b7776fb192
commit a6f89ccd76

View File

@ -341,7 +341,7 @@ Handle<Value> DTRACE_HTTP_CLIENT_RESPONSE(const Arguments& args) {
#define NODE_PROBE(name) #name, name, Persistent<FunctionTemplate>()
static int dtrace_gc_start(GCType type, GCCallbackFlags flags) {
int dtrace_gc_start(GCType type, GCCallbackFlags flags) {
#ifdef HAVE_SYSTEMTAP
NODE_GC_START();
#else
@ -354,7 +354,7 @@ static int dtrace_gc_start(GCType type, GCCallbackFlags flags) {
return 0;
}
static int dtrace_gc_done(GCType type, GCCallbackFlags flags) {
int dtrace_gc_done(GCType type, GCCallbackFlags flags) {
#ifdef HAVE_SYSTEMTAP
NODE_GC_DONE();
#else