diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-24 21:06:09 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-24 21:06:09 +0200 |
commit | 9855a34f48acf6ae3aaeba9ec37756da41507e64 (patch) | |
tree | a02c2a507b3d536182d81e78b878b6b29c617cb9 /src/method.h | |
parent | 1ae3aae35193dce25e5534b12a46011ec7912bb4 (diff) | |
download | fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.tar fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.zip |
Coding style: always add a space between a pointer's type and the *
Diffstat (limited to 'src/method.h')
-rw-r--r-- | src/method.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/method.h b/src/method.h index 4ae9e0a..fec81f9 100644 --- a/src/method.h +++ b/src/method.h @@ -59,9 +59,9 @@ struct fastd_method_provider { size_t (*key_length)(const fastd_method_t *method); /** Initiates a session */ - fastd_method_session_state_t* (*session_init)(const fastd_method_t *method, const uint8_t *secret, bool initiator); + fastd_method_session_state_t * (*session_init)(const fastd_method_t *method, const uint8_t *secret, bool initiator); /** Initiates a session in pre-v11 compatiblity mode */ - fastd_method_session_state_t* (*session_init_compat)(const fastd_method_t *method, const uint8_t *secret, size_t length, bool initiator); + fastd_method_session_state_t * (*session_init_compat)(const fastd_method_t *method, const uint8_t *secret, size_t length, bool initiator); /** Closes a session */ void (*session_free)(fastd_method_session_state_t *session); @@ -85,7 +85,7 @@ bool fastd_method_create_by_name(const char *name, const fastd_method_provider_t /** Finds the fastd_method_info_t for a configured method */ -static inline const fastd_method_info_t* fastd_method_get_by_name(const char *name) { +static inline const fastd_method_info_t * fastd_method_get_by_name(const char *name) { size_t i; for (i = 0; conf.methods[i].name; i++) { if (!strcmp(conf.methods[i].name, name)) |