From 40ebfc04e704e2c1b2b2c3a7661ce4c3b912963a Mon Sep 17 00:00:00 2001 From: Kyeonghun Lee Date: Tue, 29 Mar 2016 18:42:24 +0900 Subject: [PATCH] apply Tizen C Coding rule Change-Id: I910914c61194898db0b69df36f12e9f0ef28c1d7 --- include/messages_error.h | 2 +- include/messages_private.h | 6 +++--- include/messages_types.h | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/messages_error.h b/include/messages_error.h index b156936..463b5cb 100644 --- a/include/messages_error.h +++ b/include/messages_error.h @@ -11,7 +11,7 @@ * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and - * limitations under the License. + * limitations under the License. */ #ifndef __TIZEN_MESSAGING_ERROR_H__ diff --git a/include/messages_private.h b/include/messages_private.h index 58953b8..33d0f88 100644 --- a/include/messages_private.h +++ b/include/messages_private.h @@ -48,8 +48,8 @@ typedef struct _messages_message_s { } messages_message_s; typedef struct _messages_attachment_s { - int media_type; - char filepath[MSG_FILEPATH_LEN_MAX +1]; + int media_type; + char filepath[MSG_FILEPATH_LEN_MAX +1]; } messages_attachment_s; typedef struct _messages_sent_callback_s { @@ -93,7 +93,7 @@ typedef struct _messages_push_incoming_callback_s { LOGE("Error - Feature getting from System Info"); \ return MESSAGES_ERROR_OPERATION_FAILED; \ } \ - } while(0) + } while (0) int _messages_convert_mbox_to_fw(messages_message_box_e mbox); int _messages_convert_msgtype_to_fw(messages_message_type_e type); diff --git a/include/messages_types.h b/include/messages_types.h index 4643298..ee400c2 100644 --- a/include/messages_types.h +++ b/include/messages_types.h @@ -123,7 +123,7 @@ typedef enum { * * @see messages_send_message() */ -typedef void (* messages_sent_cb)(messages_sending_result_e result, void *user_data); +typedef void (*messages_sent_cb)(messages_sending_result_e result, void *user_data); /** @@ -138,7 +138,7 @@ typedef void (* messages_sent_cb)(messages_sending_result_e result, void *user_d * @see messages_set_message_incoming_cb() * @see messages_unset_message_incoming_cb() */ -typedef void (* messages_incoming_cb)(messages_message_h incoming_msg, void *user_data); +typedef void (*messages_incoming_cb)(messages_message_h incoming_msg, void *user_data); /** @@ -164,7 +164,7 @@ typedef void (* messages_incoming_cb)(messages_message_h incoming_msg, void *use * * @see messages_foreach_message() */ -typedef bool (* messages_search_cb)(messages_message_h msg, int index, int result_count, int total_count, void *user_data); +typedef bool (*messages_search_cb)(messages_message_h msg, int index, int result_count, int total_count, void *user_data); /** @@ -187,7 +187,7 @@ typedef bool (* messages_search_cb)(messages_message_h msg, int index, int resul * @see messages_push_set_incoming_cb() * @see messages_push_unset_incoming_cb() */ -typedef void (* messages_push_incoming_cb)(const char *header, const char *body, int body_length, void *user_data); +typedef void (*messages_push_incoming_cb)(const char *header, const char *body, int body_length, void *user_data); /** * @} -- 2.34.1