aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/binder/binder.h
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2016-07-07 16:48:58 (GMT)
committerJouni Malinen <j@w1.fi>2016-08-07 08:21:45 (GMT)
commita1979469fd13dd39201362fa953fcb3087d7a17b (patch)
tree29ba83e812e080a15920cada0050d96e12568c2a /wpa_supplicant/binder/binder.h
parentfe1d0771f72e6be7e81d46658dcac37a3629c317 (diff)
downloadhostap-a1979469fd13dd39201362fa953fcb3087d7a17b.zip
hostap-a1979469fd13dd39201362fa953fcb3087d7a17b.tar.gz
hostap-a1979469fd13dd39201362fa953fcb3087d7a17b.tar.bz2
binder: Clang format the source code
Add a ".clang-format" file which is pretty close to the rest of wpa_supplicant code base and reformat the binder codebase. Signed-off-by: Roshan Pius <rpius@google.com>
Diffstat (limited to 'wpa_supplicant/binder/binder.h')
-rw-r--r--wpa_supplicant/binder/binder.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/wpa_supplicant/binder/binder.h b/wpa_supplicant/binder/binder.h
index a165074..019e327 100644
--- a/wpa_supplicant/binder/binder.h
+++ b/wpa_supplicant/binder/binder.h
@@ -7,8 +7,8 @@
* See README for more details.
*/
-#ifndef BINDER_H
-#define BINDER_H
+#ifndef WPA_SUPPLICANT_BINDER_BINDER_H
+#define WPA_SUPPLICANT_BINDER_BINDER_H
#ifdef _cplusplus
extern "C" {
@@ -22,13 +22,13 @@ extern "C" {
struct wpas_binder_priv;
struct wpa_global;
-struct wpas_binder_priv * wpas_binder_init(struct wpa_global *global);
+struct wpas_binder_priv *wpas_binder_init(struct wpa_global *global);
void wpas_binder_deinit(struct wpas_binder_priv *priv);
#ifdef CONFIG_CTRL_IFACE_BINDER
int wpas_binder_register_interface(struct wpa_supplicant *wpa_s);
int wpas_binder_unregister_interface(struct wpa_supplicant *wpa_s);
-#else /* CONFIG_CTRL_IFACE_BINDER */
+#else /* CONFIG_CTRL_IFACE_BINDER */
static inline int wpas_binder_register_interface(struct wpa_supplicant *wpa_s)
{
return 0;
@@ -43,4 +43,4 @@ static inline int wpas_binder_unregister_interface(struct wpa_supplicant *wpa_s)
}
#endif /* _cplusplus */
-#endif /* BINDER_H */
+#endif /* WPA_SUPPLICANT_BINDER_BINDER_H */