Mesa (master): mesa: remove unused CEILF macro

Brian Paul brianp at kemper.freedesktop.org
Tue Feb 24 21:49:46 UTC 2015


Module: Mesa
Branch: master
Commit: b2c13534f7b38eed1c5b15d73e8171d3038765c7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2c13534f7b38eed1c5b15d73e8171d3038765c7

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Feb 24 09:03:25 2015 -0700

mesa: remove unused CEILF macro

Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 src/mesa/main/imports.h |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index b7bb6e2..bcbcd0f 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -204,17 +204,14 @@ static inline GLfloat LOG2(GLfloat x)
 
 
 /***
- *** CEILF: ceiling of float
  *** FLOORF: floor of float
  *** FABSF: absolute value of float
  ***/
 #if defined(__gnu_linux__)
 /* C99 functions */
-#define CEILF(x)   ceilf(x)
 #define FLOORF(x)  floorf(x)
 #define FABSF(x)   fabsf(x)
 #else
-#define CEILF(x)   ((GLfloat) ceil(x))
 #define FLOORF(x)  ((GLfloat) floor(x))
 #define FABSF(x)   ((GLfloat) fabs(x))
 #endif




More information about the mesa-commit mailing list