Browse Source

Correct return type of tmsg_cleanup

pull/691/head
Anders Jenbo 6 years ago
parent
commit
eaa24860ce
  1. 3
      Source/tmsg.cpp
  2. 2
      Source/tmsg.h

3
Source/tmsg.cpp

@ -41,7 +41,7 @@ void tmsg_start()
assert(! sgpTimedMsgHead);
}
void *tmsg_cleanup()
void tmsg_cleanup()
{
TMsg *next;
@ -50,5 +50,4 @@ void *tmsg_cleanup()
MemFreeDbg(sgpTimedMsgHead);
sgpTimedMsgHead = next;
}
return sgpTimedMsgHead;
}

2
Source/tmsg.h

@ -5,6 +5,6 @@
int tmsg_get(BYTE *pbMsg, DWORD dwMaxLen);
void tmsg_add(BYTE *pbMsg, BYTE bLen);
void tmsg_start();
void *tmsg_cleanup();
void tmsg_cleanup();
#endif /* __TMSG_H__ */

Loading…
Cancel
Save