summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMahesh Kumar Kalikot Veetil <mkalikot@qca.qualcomm.com>2016-04-24 22:49:10 -0700
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-04-26 18:55:27 +0530
commit41ae34fc7c41dd5aa5afaf5afb0d0f905890dfaf (patch)
tree09de85c25c965cd605f3bed20ebd93e6941e0834
parentd1ecc74325bf4b70b3c9581ac0cc447d6309a8cf (diff)
qcacld-2.0: Fix a function declaration
The gcc option '-Werror=strict-prototypes' throws the error, function declaration isn't a prototype. With the empty parentheses the function 'nl_srv_is_initialized' takes a fixed but unspecified number and type(s) of arguments. With (void),it takes no arguments. Change-Id: Idfff56c92bcbc5619233da7a989e39e91fd5f086 CRs-Fixed: 1007576
-rw-r--r--CORE/SVC/inc/wlan_nlink_srv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SVC/inc/wlan_nlink_srv.h b/CORE/SVC/inc/wlan_nlink_srv.h
index cd49ee0d0662..ce5b58280ab6 100644
--- a/CORE/SVC/inc/wlan_nlink_srv.h
+++ b/CORE/SVC/inc/wlan_nlink_srv.h
@@ -97,7 +97,7 @@ static inline int nl_srv_bcast(struct sk_buff *skb)
return 0;
}
-static inline int nl_srv_is_initialized()
+static inline int nl_srv_is_initialized(void)
{
return -EPERM;
}