summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-02-13 04:16:56 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-02-13 04:16:56 +0000
commitae3af0419bef68e5a01e825798af7493f45f8456 (patch)
tree748caf069ac74f01be381547debdf3b3d522f8c3
parentec0ebf110810753c7ed843b628227eae1801db84 (diff)
downloadmonitoring-plugins-ae3af0419bef68e5a01e825798af7493f45f8456.tar.gz
This floorf workaround is Nnot needed anymore since floorf is part of Gnulib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1928 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/common.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/common.h b/plugins/common.h
index 6cb7cd46..39a28a9d 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -182,11 +182,6 @@ enum {
182}; 182};
183#endif 183#endif
184 184
185/* Solaris does not have floorf, but floor works. Should probably be in configure */
186#if defined(__sun) || defined(__sun__)
187static inline float floorf (float x) { return floor(x); }
188#endif
189
190enum { 185enum {
191 STATE_OK, 186 STATE_OK,
192 STATE_WARNING, 187 STATE_WARNING,