mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-04 03:36:00 +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:
parent
9d15912aa4
commit
be5a513fee
3 changed files with 9 additions and 46 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue