X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_not_thread_safe.c;h=1433524eb1aa3a4006e78d9aec76386dee2053ac;hb=c502ca0c6ed02387134193d215f6af0b3e29afe1;hp=b05ee1af64832217c84e424cea790d23b555f90a;hpb=b005d2cbe00924ddfcb8766d49201e4044abfc21;p=rrdtool.git diff --git a/src/rrd_not_thread_safe.c b/src/rrd_not_thread_safe.c index b05ee1a..1433524 100644 --- a/src/rrd_not_thread_safe.c +++ b/src/rrd_not_thread_safe.c @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.3rc7 Copyright by Tobi Oetiker, 1997-2008 + * RRDtool 1.4.2 Copyright by Tobi Oetiker, 1997-2009 * This file: Copyright 2003 Peter Stamfest * & Tobias Oetiker * Distributed under the GPL @@ -17,14 +17,14 @@ /* The global context is very useful in the transition period to even more thread-safe stuff, it can be used whereever we need a context and do not need to worry about concurrency. */ -static struct rrd_context global_ctx = { +static rrd_context_t global_ctx = { "", "" }; /* #include */ -struct rrd_context *rrd_get_context( +rrd_context_t *rrd_get_context( void) { return &global_ctx;