Mesa (master): mesa/main: delete now unused _mesa_little_endian

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 5 16:40:23 UTC 2019


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

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Thu Sep  6 15:15:40 2018 -0700

mesa/main: delete now unused _mesa_little_endian

Reviewed-by: Eric Engestrom <eric at engestrom.ch>

---

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

diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 41f28ad0f1e..7f10ecec810 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -285,18 +285,6 @@ _mesa_logbase2(GLuint n)
 }
 
 
-/**
- * Return 1 if this is a little endian machine, 0 if big endian.
- */
-static inline GLboolean
-_mesa_little_endian(void)
-{
-   const GLuint ui = 1; /* intentionally not static */
-   return *((const GLubyte *) &ui);
-}
-
-
-
 /**********************************************************************
  * Functions
  */




More information about the mesa-commit mailing list