[Nagiosplug-checkins] SF.net SVN: nagiosplug: [1928] nagiosplug/trunk/plugins/common.h

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Wed Feb 13 05:16:56 CET 2008


Revision: 1928
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1928&view=rev
Author:   dermoth
Date:     2008-02-12 20:16:56 -0800 (Tue, 12 Feb 2008)

Log Message:
-----------
This floorf workaround is Nnot needed anymore since floorf is part of Gnulib

Modified Paths:
--------------
    nagiosplug/trunk/plugins/common.h

Modified: nagiosplug/trunk/plugins/common.h
===================================================================
--- nagiosplug/trunk/plugins/common.h	2008-02-13 04:07:39 UTC (rev 1927)
+++ nagiosplug/trunk/plugins/common.h	2008-02-13 04:16:56 UTC (rev 1928)
@@ -182,11 +182,6 @@
 };
 #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,


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list