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:
Enrico Weigelt, metux IT consult
2024-03-13 16:56:06 +01:00
committed by Alan Coopersmith
parent c400daa78e
commit 7c614a48bf
2 changed files with 0 additions and 11 deletions

View File

@@ -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)
{

View File

@@ -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);