Remove libipm_msg_in_start()

The semantics of this call allowed it to be called more than once when
parsing a message to restart a parse. This is not likely to be
useful in practice, and it also makes reading file descriptors
more complicated. Consequently this function has been removed and
replaced with with libipm_msg_in_get_msgno()
This commit is contained in:
matt335672
2023-01-09 12:26:32 +00:00
parent 2c6419475c
commit 02a3821f4d
8 changed files with 24 additions and 22 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ check_for_incoming_message(unsigned short expected_msgno)
status = libipm_msg_in_wait_available(g_t_in);
ck_assert_int_eq(status, E_LI_SUCCESS);
msgno = libipm_msg_in_start(g_t_in);
msgno = libipm_msg_in_get_msgno(g_t_in);
ck_assert_int_eq(msgno, expected_msgno);
}