Remove the *allocm() API, which is superceded by the *allocx() API.
This commit is contained in:
@@ -54,7 +54,7 @@ thd_sender_start(void *arg)
|
||||
mq_msg_t *msg;
|
||||
void *p;
|
||||
p = mallocx(sizeof(mq_msg_t), 0);
|
||||
assert_ptr_not_null(p, "Unexpected allocm() failure");
|
||||
assert_ptr_not_null(p, "Unexpected mallocx() failure");
|
||||
msg = (mq_msg_t *)p;
|
||||
mq_put(mq, msg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user