From 450b08c6f1b773e2c6a0a1af48201562c6972af4 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 28 Jun 2024 00:48:41 +0200 Subject: [PATCH] (submit/selection.h) dix: unexport selection functions No driver needs them, so no reason to keep them exported. Signed-off-by: Enrico Weigelt, metux IT consult --- include/selection.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/include/selection.h b/include/selection.h index 7a516f14a..f4bf282c5 100644 --- a/include/selection.h +++ b/include/selection.h @@ -68,12 +68,12 @@ typedef struct _Selection { * Selection API */ -extern _X_EXPORT int dixLookupSelection(Selection ** result, Atom name, - ClientPtr client, Mask access_mode); +int dixLookupSelection(Selection ** result, Atom name, + ClientPtr client, Mask access_mode); -extern _X_EXPORT Selection *CurrentSelections; +extern Selection *CurrentSelections; -extern _X_EXPORT CallbackListPtr SelectionCallback; +extern CallbackListPtr SelectionCallback; typedef enum { SelectionSetOwner, @@ -91,10 +91,8 @@ typedef struct { * Selection server internals */ -extern _X_EXPORT void InitSelections(void); - -extern _X_EXPORT void DeleteWindowFromAnySelections(WindowPtr pWin); - -extern _X_EXPORT void DeleteClientFromAnySelections(ClientPtr client); +void InitSelections(void); +void DeleteWindowFromAnySelections(WindowPtr pWin); +void DeleteClientFromAnySelections(ClientPtr client); #endif /* SELECTION_H */