#else /* CONFIG_DYNAMIC_EAP_METHODS */
-static inline int eap_peer_method_load(const char *so)
+static inline int eap_peer_method_load(const char *so UNUSED)
{
return 0;
}
-static inline int eap_peer_method_unload(struct eap_method *method)
+static inline int eap_peer_method_unload(struct eap_method *method UNUSED)
{
return 0;
}
#ifdef __GNUC__
#define PRINTF_FORMAT(a,b) __attribute__ ((format (printf, (a), (b))))
#define STRUCT_PACKED __attribute__ ((packed))
+#define UNUSED __attribute__ ((unused))
#else
#define PRINTF_FORMAT(a,b)
#define STRUCT_PACKED
+#define UNUSED
#endif