mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Remove AddEnabledDevice and AddGeneralSocket APIs
All uses of these interfaces should instead be using the NotifyFd API instead. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
committed by
Adam Jackson
parent
9d15912aa4
commit
be5a513fee
@@ -146,14 +146,6 @@ extern _X_EXPORT void CheckConnections(void);
|
||||
|
||||
extern _X_EXPORT void CloseDownConnection(ClientPtr /*client */ );
|
||||
|
||||
extern _X_EXPORT void AddGeneralSocket(int /*fd */ );
|
||||
|
||||
extern _X_EXPORT void RemoveGeneralSocket(int /*fd */ );
|
||||
|
||||
extern _X_EXPORT void AddEnabledDevice(int /*fd */ );
|
||||
|
||||
extern _X_EXPORT void RemoveEnabledDevice(int /*fd */ );
|
||||
|
||||
typedef void (*NotifyFdProcPtr)(int fd, int ready, void *data);
|
||||
|
||||
#define X_NOTIFY_NONE 0
|
||||
|
||||
Reference in New Issue
Block a user