Code

This floorf workaround is Nnot needed anymore since floorf is part of Gnulib
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>
Wed, 13 Feb 2008 04:16:56 +0000 (04:16 +0000)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>
Wed, 13 Feb 2008 04:16:56 +0000 (04:16 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1928 f882894a-f735-0410-b71e-b25c423dba1c

plugins/common.h

index 6cb7cd46f61e122d5023018afe7b991d56cb2db1..39a28a9d08f79f9d66cb10d2c97c4d87f9c8e3eb 100644 (file)
@@ -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,