apply Tizen C Coding rule 05/64005/1
authorKyeonghun Lee <kh9090.lee@samsung.com>
Tue, 29 Mar 2016 09:42:24 +0000 (18:42 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Tue, 29 Mar 2016 09:42:24 +0000 (18:42 +0900)
Change-Id: I910914c61194898db0b69df36f12e9f0ef28c1d7

include/messages_error.h
include/messages_private.h
include/messages_types.h

index b156936..463b5cb 100644 (file)
@@ -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__
index 58953b8..33d0f88 100644 (file)
@@ -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);
index 4643298..ee400c2 100644 (file)
@@ -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);
 
 /**
  * @}