diff options
author | Richard Mudgett <rmudgett@digium.com> | 2015-01-15 17:18:14 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2015-01-15 17:18:14 +0000 |
commit | 6c426e86bd470c3a2f3b73b3a070583c92c19af4 (patch) | |
tree | 7ab01375f295d039036d3629db629d8196fd6d45 /res/res_fax.c | |
parent | c95391f23ccc30e7d495a16ef927846dab96984a (diff) |
res_fax.c, res_fax_spandsp.c: Fix some curlies on the end of function definitions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_fax.c')
-rw-r--r-- | res/res_fax.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/res/res_fax.c b/res/res_fax.c index 5f2798ab4..8a796ef69 100644 --- a/res/res_fax.c +++ b/res/res_fax.c @@ -839,6 +839,7 @@ static int update_modem_bits(enum ast_fax_modems *bits, const char *value) } return 0; } + static char *ast_fax_caps_to_str(enum ast_fax_capabilities caps, char *buf, size_t bufsize) { char *out = buf; @@ -1356,7 +1357,8 @@ static struct ast_json *generate_filenames_json(struct ast_fax_session_details * return json_array; } -/* \brief Generate a string of filenames using the given prefix and separator. +/*! + * \brief Generate a string of filenames using the given prefix and separator. * \param details the fax session details * \param prefix the prefix to each filename * \param separator the separator between filenames @@ -3236,7 +3238,8 @@ static struct ast_frame *fax_gateway_detect_t38(struct fax_gateway *gateway, str /*! \brief Destroy the gateway data structure when the framehook is detached * \param data framehook data (gateway data)*/ -static void fax_gateway_framehook_destroy(void *data) { +static void fax_gateway_framehook_destroy(void *data) +{ struct fax_gateway *gateway = data; if (gateway->s) { @@ -3270,7 +3273,8 @@ static void fax_gateway_framehook_destroy(void *data) { * * \return processed frame or NULL when f is NULL or a null frame */ -static struct ast_frame *fax_gateway_framehook(struct ast_channel *chan, struct ast_frame *f, enum ast_framehook_event event, void *data) { +static struct ast_frame *fax_gateway_framehook(struct ast_channel *chan, struct ast_frame *f, enum ast_framehook_event event, void *data) +{ struct fax_gateway *gateway = data; struct ast_channel *active; RAII_VAR(struct ast_fax_session_details *, details, NULL, ao2_cleanup); @@ -3575,7 +3579,8 @@ static struct fax_detect *fax_detect_new(struct ast_channel *chan, int timeout, /*! \brief Deref the faxdetect data structure when the faxdetect framehook is detached * \param data framehook data (faxdetect data)*/ -static void fax_detect_framehook_destroy(void *data) { +static void fax_detect_framehook_destroy(void *data) +{ struct fax_detect *faxdetect = data; ao2_ref(faxdetect, -1); @@ -3592,7 +3597,8 @@ static void fax_detect_framehook_destroy(void *data) { * * \return processed frame or NULL when f is NULL or a null frame */ -static struct ast_frame *fax_detect_framehook(struct ast_channel *chan, struct ast_frame *f, enum ast_framehook_event event, void *data) { +static struct ast_frame *fax_detect_framehook(struct ast_channel *chan, struct ast_frame *f, enum ast_framehook_event event, void *data) +{ struct fax_detect *faxdetect = data; struct ast_fax_session_details *details; struct ast_control_t38_parameters *control_params; |