Inline the free function.
This commit is contained in:
@ -99,10 +99,6 @@ struct message *NeoComm_get_next_message(const char *channel_name) {
|
||||
return msg;
|
||||
}
|
||||
|
||||
void NeoComm_free_message(struct message *msg) {
|
||||
free(msg);
|
||||
}
|
||||
|
||||
time_t NeoComm_send_message(const char *channel_name, const char *message) {
|
||||
if(not node.isRunning())
|
||||
{
|
||||
|
Reference in New Issue
Block a user