Deprecate wifi all APIs
[platform/core/api/wifi.git] / include / net_wifi_private.h
index 946f224..08347fc 100755 (executable)
@@ -54,6 +54,12 @@ typedef enum
                        return rv; \
        } while(0)
 
+#define DEPRECATED_LOG(origin, substitution) \
+       do { \
+               LOGW("DEPRECATION WARNING: %s() is deprecated and will be removed " \
+                               "from next release. Use %s() instead.", origin, substitution); \
+       } while(0)
+
 #define WIFI_LOG(log_level, format, args...) \
        do { \
                switch (log_level) { \