mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
dix: unexport SwapLongs()
Not used by any external drivers, so no need to keep it in public SDK. Since it's used by internal modules, still needs to be _X_EXPORT'ed. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
e00b4b55c8
commit
8039c2cbf1
@@ -765,4 +765,10 @@ int dixAllocColor(ClientPtr client, Colormap cmap, CARD16 *red,
|
||||
|
||||
void ReplyNotSwappd(ClientPtr pClient, int size, void *pbuf) _X_NORETURN;
|
||||
|
||||
/* needed by some internal modules */ _X_EXPORT
|
||||
void SwapLongs(CARD32 *list, unsigned long count);
|
||||
|
||||
#define SwapRestL(stuff) \
|
||||
SwapLongs((CARD32 *)(stuff + 1), (client->req_len - (sizeof(*stuff) >> 2)))
|
||||
|
||||
#endif /* _XSERVER_DIX_PRIV_H */
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "dix/dix_priv.h"
|
||||
#include "dix/rpcbuf_priv.h"
|
||||
|
||||
static inline Bool __x_rpcbuf_write_bin_pad(
|
||||
|
||||
@@ -50,6 +50,7 @@ SOFTWARE.
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/Xprotostr.h>
|
||||
|
||||
#include "dix/dix_priv.h"
|
||||
#include "dix/reqhandlers_priv.h"
|
||||
|
||||
#include "misc.h"
|
||||
|
||||
Reference in New Issue
Block a user