about summary refs log tree commit diff stats
path: root/src/contact.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-07-24 23:19:48 +0100
committerJames Booth <boothj5@gmail.com>2012-07-24 23:19:48 +0100
commit279737badaebedccd9ce4f5e0c8baf166a346055 (patch)
tree5fdcbb41578ecabcba564a9a8fc015feb268a686 /src/contact.c
parent6bbad269db9fbce40676966c745506f6c3a72d7d (diff)
downloadprofani-tty-279737badaebedccd9ce4f5e0c8baf166a346055.tar.gz
Function signatures across lines
Diffstat (limited to 'src/contact.c')
-rw-r--r--src/contact.c21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/contact.c b/src/contact.c
index f9d9727e..1becabc6 100644
--- a/src/contact.c
+++ b/src/contact.c
@@ -33,7 +33,8 @@ struct p_contact_t {
     char *status;
 };
 
-PContact p_contact_new(const char * const name, const char * const show, 
+PContact
+p_contact_new(const char * const name, const char * const show, 
     const char * const status)
 {
     PContact contact = malloc(sizeof(struct p_contact_t));
@@ -52,7 +53,8 @@ PContact p_contact_new(const char * const name, const char * const show,
     return contact;
 }
 
-PContact p_contact_copy(PContact contact)
+PContact
+p_contact_copy(PContact contact)
 {
     PContact copy = malloc(sizeof(struct p_contact_t));
     copy->name = strdup(contact->name);
@@ -66,7 +68,8 @@ PContact p_contact_copy(PContact contact)
     return copy;
 }
 
-void p_contact_free(PContact contact)
+void
+p_contact_free(PContact contact)
 {
     free(contact->name);
 
@@ -83,22 +86,26 @@ void p_contact_free(PContact contact)
     contact = NULL;
 }
 
-const char * p_contact_name(const PContact contact)
+const char *
+p_contact_name(const PContact contact)
 {
     return contact->name;
 }
 
-const char * p_contact_show(const PContact contact)
+const char *
+p_contact_show(const PContact contact)
 {
     return contact->show;
 }
 
-const char * p_contact_status(const PContact contact)
+const char *
+p_contact_status(const PContact contact)
 {
     return contact->status;
 }
 
-int p_contacts_equal_deep(const PContact c1, const PContact c2)
+int
+p_contacts_equal_deep(const PContact c1, const PContact c2)
 {
     int name_eq = (g_strcmp0(c1->name, c2->name) == 0);
     int show_eq = (g_strcmp0(c1->show, c2->show) == 0);