aboutsummaryrefslogtreecommitdiff
path: root/plugins/common.h
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-02-13 04:16:56 +0000
committerGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-02-13 04:16:56 +0000
commitae3af0419bef68e5a01e825798af7493f45f8456 (patch)
tree748caf069ac74f01be381547debdf3b3d522f8c3 /plugins/common.h
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
Diffstat (limited to 'plugins/common.h')
-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 {
};
#endif
-/* Solaris does not have floorf, but floor works. Should probably be in configure */
-#if defined(__sun) || defined(__sun__)
-static inline float floorf (float x) { return floor(x); }
-#endif
-
enum {
STATE_OK,
STATE_WARNING,