From f32d06a101f87bdfd6ad4ef51a9779e3e53cef64 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 2 Sep 2025 20:36:48 +0200 Subject: [PATCH] dix: drop obsolete SGenericReply() Not used anywhere, neither exported, so no need to keep it around any longer. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/swaprep.c | 8 -------- include/swaprep.h | 4 ---- 2 files changed, 12 deletions(-) diff --git a/dix/swaprep.c b/dix/swaprep.c index 7dcbe3d34a..e8765a5a6c 100644 --- a/dix/swaprep.c +++ b/dix/swaprep.c @@ -59,14 +59,6 @@ static void SwapFontInfo(xQueryFontReply * pr); static void SwapCharInfo(xCharInfo * pInfo); -/* Extra-small reply */ -void _X_COLD -SGenericReply(ClientPtr pClient, int size, xGenericReply * pRep) -{ - swaps(&pRep->sequenceNumber); - WriteToClient(pClient, size, pRep); -} - static void _X_COLD SwapCharInfo(xCharInfo * pInfo) { diff --git a/include/swaprep.h b/include/swaprep.h index cdf017410d..297515474e 100644 --- a/include/swaprep.h +++ b/include/swaprep.h @@ -28,10 +28,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. void SwapFont(xQueryFontReply * pr, Bool hasGlyphs); -extern void SGenericReply(ClientPtr /* pClient */ , - int /* size */ , - xGenericReply * /* pRep */ ); - extern void SErrorEvent(xError * /* from */ , xError * /* to */ );