floorf() is not used, and causes warnings on Solaris
authorMåns Rullgård <mans@mansr.com>
Tue, 4 Jul 2006 22:39:23 +0000 (22:39 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 4 Jul 2006 22:39:23 +0000 (22:39 +0000)
Originally committed as revision 5617 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/common.h

index c951f5b..6ef2a13 100644 (file)
@@ -182,12 +182,6 @@ typedef uint64_t      uint_fast64_t;
 #    endif
 #endif
 
-#if defined(CONFIG_OS2) || defined(CONFIG_SUNOS)
-static inline float floorf(float f) {
-    return floor(f);
-}
-#endif
-
 #ifdef CONFIG_WIN32
 
 /* windows */