summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-24 20:21:23 +0800
committerChia-I Wu <[email protected]>2010-01-24 20:38:16 +0800
commit56b93a25ea5c573587ac699bf6806fe530f81b2f (patch)
tree2896ba2c235684d70ed3f22d6329185127f97561
parentecb3b3102a3022e31cf9d75ae099eddbe298517f (diff)
egl: Remove unused casting functions.
_eglUIntToPointer and _eglPointerToUInt are no longer used.
-rw-r--r--src/egl/main/egldisplay.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h
index 60ed7bcc039..b13ce082617 100644
--- a/src/egl/main/egldisplay.h
+++ b/src/egl/main/egldisplay.h
@@ -180,25 +180,4 @@ _eglIsResourceLinked(_EGLResource *res)
}
-/**
- * Cast an unsigned int to a pointer.
- */
-static INLINE void *
-_eglUIntToPointer(unsigned int v)
-{
- return (void *) ((uintptr_t) v);
-}
-
-
-/**
- * Cast a pointer to an unsigned int. The pointer must be one that is
- * returned by _eglUIntToPointer.
- */
-static INLINE unsigned int
-_eglPointerToUInt(const void *p)
-{
- return (unsigned int) ((uintptr_t) p);
-}
-
-
#endif /* EGLDISPLAY_INCLUDED */