diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-02-13 04:16:56 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-02-13 04:16:56 (GMT) |
commit | ae3af0419bef68e5a01e825798af7493f45f8456 (patch) | |
tree | 748caf069ac74f01be381547debdf3b3d522f8c3 /plugins/common.h | |
parent | ec0ebf110810753c7ed843b628227eae1801db84 (diff) | |
download | monitoring-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.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/common.h b/plugins/common.h index 6cb7cd4..39a28a9 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__) | ||
187 | static inline float floorf (float x) { return floor(x); } | ||
188 | #endif | ||
189 | |||
190 | enum { | 185 | enum { |
191 | STATE_OK, | 186 | STATE_OK, |
192 | STATE_WARNING, | 187 | STATE_WARNING, |