]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
make rrd_strtod and rrd_snprintf available for all to enjoy
authorTobias Oetiker <tobi@oetiker.ch>
Wed, 2 Jul 2014 12:23:09 +0000 (14:23 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Wed, 2 Jul 2014 12:23:09 +0000 (14:23 +0200)
doc/librrd.pod
src/Makefile.am
src/librrd.sym.in.in

index caeff27a880c24c1bd335aec7cffcaade3ee24c5..a0f57e36324d665d5d35b9f8062606b7520290f9 100644 (file)
@@ -82,6 +82,14 @@ values supplied to the fetch function. If the values are the same, the previous
 Generates random numbers just like random().  This further ensures that
 the random number generator is seeded exactly once per process.
 
+=item B<rrd_strtod>
+
+works like normal strtod, but it is locale independent (and thread save)
+
+=item B<rrd_snprintf>
+
+works  like normal snprintf but it is locale independent (and thread save)
+
 =item B<rrd_add_ptr(void ***dest, size_t *dest_size, void *src)>
 
 Dynamically resize the array pointed to by C<dest>.  C<dest_size> is a
index 108787b1deb5ca230139e30f7a7d0b24abb5d235..6d6c8bf9f605966a6b00353697bdbb4dbcf35094 100644 (file)
@@ -127,7 +127,7 @@ rrdtool_LDADD       = librrd.la
 rrdcached_SOURCES = rrd_daemon.c
 rrdcached_DEPENDENCIES = librrd_th.la
 rrdcached_CPPFLAGS = -DVERSION='"$(VERSION)"' -DLOCALSTATEDIR='"$(localstatedir)"'
-rrdcached_LDADD = rrd_strtod.o librrd_th.la $(ALL_LIBS)
+rrdcached_LDADD = librrd_th.la $(ALL_LIBS)
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = librrd.pc
index ba4975954e358bf06e298caa068f3c84a1084da8..4b4d3b825cb442d4ebc4486a76b0c6a97facd8a3 100644 (file)
@@ -52,6 +52,8 @@ rrd_seek
 rrd_set_error
 rrd_set_to_DINF
 rrd_set_to_DNAN
+rrd_strtod
+rrd_snprintf
 rrd_strerror
 rrd_strversion
 rrd_tell