mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-06 17:24:45 +00:00
glx: Remove unused bswap_CARD64
GCC warned about it:
../../../glx/indirect_dispatch_swap.c:85:1: warning: ‘bswap_CARD64’ defined but not used [-Wunused-function]
85 | bswap_CARD64(const void *src)
| ^~~~~~~~~~~~
This commit is contained in:
committed by
Michel Dänzer
parent
3ce05a44f3
commit
b0530fe422
@@ -81,18 +81,6 @@ bswap_ENUM(const void *src)
|
||||
return x.ret;
|
||||
}
|
||||
|
||||
static GLsync
|
||||
bswap_CARD64(const void *src)
|
||||
{
|
||||
union {
|
||||
uint64_t dst;
|
||||
GLsync ret;
|
||||
} x;
|
||||
|
||||
x.dst = bswap_64(*(uint64_t *) src);
|
||||
return x.ret;
|
||||
}
|
||||
|
||||
static GLdouble
|
||||
bswap_FLOAT64(const void *src)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user