mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-04-04 22:40:38 +02:00
test: remove an unused function
Obsolete since 479bda259a ("Purge libreis from the repo")
Part-of: <https://gitlab.freedesktop.org/libinput/libei/-/merge_requests/338>
This commit is contained in:
parent
50ff529a76
commit
efdc58e094
2 changed files with 0 additions and 16 deletions
|
|
@ -57,7 +57,6 @@ struct peck {
|
|||
uint32_t eis_behavior;
|
||||
uint32_t ei_behavior;
|
||||
struct logger *logger;
|
||||
int ei_socket_fd;
|
||||
|
||||
/* The default seat/devices */
|
||||
struct eis_seat *eis_seat;
|
||||
|
|
@ -496,7 +495,6 @@ new_context(enum peck_ei_mode ei_mode)
|
|||
ei_configure_name(ei, "eierpecken test context");
|
||||
rc = ei_setup_backend_fd(ei, fd);
|
||||
munit_assert_int(rc, ==, 0);
|
||||
peck->ei_socket_fd = -1;
|
||||
peck->ei = ei;
|
||||
peck_enable_ei_behavior(peck, PECK_EI_BEHAVIOR_HANDLE_CONNECT);
|
||||
peck_enable_ei_behavior(peck, PECK_EI_BEHAVIOR_AUTOSEAT);
|
||||
|
|
@ -556,17 +554,6 @@ peck_new(void)
|
|||
return peck_new_context(PECK_EI_SENDER);
|
||||
}
|
||||
|
||||
void
|
||||
peck_ei_connect(struct peck *peck)
|
||||
{
|
||||
assert(peck->ei_socket_fd != -1);
|
||||
|
||||
struct ei *ei = peck->ei;
|
||||
int rc = ei_setup_backend_fd(ei, peck->ei_socket_fd);
|
||||
munit_assert_int(rc, ==, 0);
|
||||
peck->ei_socket_fd = -1;
|
||||
}
|
||||
|
||||
void
|
||||
peck_enable_eis_behavior(struct peck *peck, enum peck_eis_behavior behavior)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -153,9 +153,6 @@ peck_new(void);
|
|||
struct peck *
|
||||
peck_new_context(enum peck_ei_mode ei_mode);
|
||||
|
||||
void
|
||||
peck_ei_connect(struct peck *peck);
|
||||
|
||||
void _peck_mark(struct peck *peck, const char *func, int line);
|
||||
/** Add debug marker to the log output */
|
||||
#define peck_mark(peck_) _peck_mark(peck_, __func__, __LINE__)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue