summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0b02de6)
raw | patch | inline | side by side (parent: 0b02de6)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 15 Nov 2007 14:36:39 +0000 (14:36 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 15 Nov 2007 14:36:39 +0000 (14:36 +0000) |
src/Makefile.am | patch | blob | history | |
src/rrd.h | patch | blob | history | |
src/rrd_nan_inf.h | [deleted file] | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 0a5b0e211c9cd29bc82bc5c543d5773e1be86d08..73a312de5a7c807d86f181af36519052317d74b4 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
rrd_getopt.h parsetime.h \
rrd_format.h rrd_tool.h rrd_xport.h rrd.h rrd_rpncalc.h \
rrd_hw.h rrd_hw_math.h rrd_hw_update.h \
- rrd_nan_inf.h fnv.h rrd_graph.h \
+ fnv.h rrd_graph.h \
rrd_is_thread_safe.h
noinst_LTLIBRARIES = librrdupd.la
diff --git a/src/rrd.h b/src/rrd.h
index e53751d3f83972f723112ddc5898783734dc589e..3030788e6451dc78dbf65a6cf0e9d6f78bf030c6 100644 (file)
--- a/src/rrd.h
+++ b/src/rrd.h
#include <time.h>
#include <stdio.h> /* for FILE */
+
+/* Formerly rrd_nan_inf.h */
+#ifndef DNAN
+# define DNAN set_to_DNAN()
+#endif
+
+#ifndef DINF
+# define DINF set_to_DINF()
+#endif
+double set_to_DNAN(void);
+double set_to_DINF(void);
+/* end of rrd_nan_inf.h */
+
/* Transplanted from rrd_format.h */
typedef double rrd_value_t; /* the data storage type is
* double */
diff --git a/src/rrd_nan_inf.h b/src/rrd_nan_inf.h
--- a/src/rrd_nan_inf.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#define DNAN set_to_DNAN()
-#define DINF set_to_DINF()
-
-double set_to_DNAN(
- void);
-double set_to_DINF(
- void);