mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-06 09:42:54 +03:00
Fixing comments inside coap_time.c and net.c.
This commit is contained in:
1 parent
48fb2443df
commit
d6d7df8bfe
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -47,7 +47,7 @@ coap_clock_init(void) {
|
||||
|
||||
void
|
||||
coap_ticks(coap_tick_t *t) {
|
||||
coap_tick_t tmp;
|
||||
unsigned long tmp;
|
||||
|
||||
#ifdef COAP_CLOCK
|
||||
struct timespec tv;
|
||||
|
||||
@@ -31,13 +31,13 @@ coap_memory_init(void) {
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
void *
|
||||
coap_malloc_type(coap_memory_tag_t type UNUSED_PARAM, size_t size) {
|
||||
coap_malloc_type(coap_memory_tag_t type, size_t size) {
|
||||
(void)type;
|
||||
return malloc(size);
|
||||
}
|
||||
|
||||
void
|
||||
coap_free_type(coap_memory_tag_t type UNUSED_PARAM, void *p) {
|
||||
coap_free_type(coap_memory_tag_t type, void *p) {
|
||||
(void)type;
|
||||
free(p);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user