X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_not_thread_safe.c;h=2b1d00cc1611670fc02d2f927463a310e044fb11;hp=b05ee1af64832217c84e424cea790d23b555f90a;hb=d4110e29da41ce702bcc3327e86768c6f266915e;hpb=b005d2cbe00924ddfcb8766d49201e4044abfc21 diff --git a/src/rrd_not_thread_safe.c b/src/rrd_not_thread_safe.c index b05ee1a..2b1d00c 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.3.2 Copyright by Tobi Oetiker, 1997-2008 * 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;