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

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.