mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-03 03:01:05 +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
+1
-7
@@ -14,14 +14,8 @@
|
||||
#include "test_tls.h"
|
||||
#include "coap2/libcoap.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define UNUSED_PARAM __attribute__ ((unused))
|
||||
#else /* not a GCC */
|
||||
#define UNUSED_PARAM
|
||||
#endif /* GCC */
|
||||
|
||||
int
|
||||
main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) {
|
||||
main(int argc COAP_UNUSED, char **argv COAP_UNUSED) {
|
||||
CU_ErrorCode result;
|
||||
CU_BasicRunMode run_mode = CU_BRM_VERBOSE;
|
||||
|
||||
|
||||
Reference in new issue
Block a user