mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-26 17:01:42 +03:00
Merge pull request #612 from mrdeep1/coap_unused
COAP_UNUSED: Remove UNUSED and UNUSED_PARAM and use COAP_UNUSED instead
This commit is contained in:
15 files changed
+225
-292
No files matched your search
@@ -46,6 +46,13 @@ typedef USHORT in_port_t;
|
||||
# define COAP_DEPRECATED __attribute__ ((deprecated))
|
||||
# endif
|
||||
#endif
|
||||
#ifndef COAP_UNUSED
|
||||
# ifdef __GNUC__
|
||||
# define COAP_UNUSED __attribute__((unused))
|
||||
# else /* __GNUC__ */
|
||||
# define COAP_UNUSED
|
||||
# endif /* __GNUC__ */
|
||||
#endif /* COAP_UNUSED */
|
||||
|
||||
void coap_startup(void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user