mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xfree86: os-support: drop unused xf86SerialSendBreak()
Since no evidency of anybody actually using it (nor it ever been used within
recorded git history), it's time to drop this old relic from times before
the great flood.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1403>
(cherry picked from commit 5b43fd8393)
This commit is contained in:
committed by
Alan Coopersmith
parent
c400daa78e
commit
7c614a48bf
@@ -411,16 +411,6 @@ xf86WaitForInput(int fd, int timeout)
|
||||
return r;
|
||||
}
|
||||
|
||||
int
|
||||
xf86SerialSendBreak(int fd, int duration)
|
||||
{
|
||||
int r;
|
||||
|
||||
SYSCALL(r = tcsendbreak(fd, duration));
|
||||
return r;
|
||||
|
||||
}
|
||||
|
||||
int
|
||||
xf86FlushInput(int fd)
|
||||
{
|
||||
|
||||
@@ -129,7 +129,6 @@ extern _X_EXPORT int xf86WriteSerial(int fd, const void *buf, int count);
|
||||
extern _X_EXPORT int xf86CloseSerial(int fd);
|
||||
extern _X_EXPORT int xf86FlushInput(int fd);
|
||||
extern _X_EXPORT int xf86WaitForInput(int fd, int timeout);
|
||||
extern _X_EXPORT int xf86SerialSendBreak(int fd, int duration);
|
||||
extern _X_EXPORT int xf86SetSerialModemState(int fd, int state);
|
||||
extern _X_EXPORT int xf86GetSerialModemState(int fd);
|
||||
extern _X_EXPORT int xf86SerialModemSetBits(int fd, int bits);
|
||||
|
||||
Reference in New Issue
Block a user