about summary refs log tree commit diff stats
path: root/src/resource.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-10-26 00:52:33 +0000
committerJames Booth <boothj5@gmail.com>2015-10-26 00:52:33 +0000
commitdd11334b06e11e26e925e289b84176911c05cd16 (patch)
treeb5c305eb9f8859abea7667653d0da6e188b94d3c /src/resource.c
parentc8a6bdb381c9a666fc340e8b7fc74100e7328d8c (diff)
downloadprofani-tty-dd11334b06e11e26e925e289b84176911c05cd16.tar.gz
Applied coding style to src/
Diffstat (limited to 'src/resource.c')
-rw-r--r--src/resource.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/resource.c b/src/resource.c
index 1598c7b2..ec122e0a 100644
--- a/src/resource.c
+++ b/src/resource.c
@@ -39,8 +39,8 @@
 #include <common.h>
 #include <resource.h>
 
-Resource * resource_new(const char * const name, resource_presence_t presence,
-    const char * const status, const int priority)
+Resource*
+resource_new(const char *const name, resource_presence_t presence, const char *const status, const int priority)
 {
     assert(name != NULL);
     Resource *new_resource = malloc(sizeof(struct resource_t));
@@ -86,7 +86,8 @@ resource_compare_availability(Resource *first, Resource *second)
     }
 }
 
-void resource_destroy(Resource *resource)
+void
+resource_destroy(Resource *resource)
 {
     if (resource) {
         free(resource->name);