aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-registry/globals.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-11-05 00:09:50 +0100
committerMattias Andrée <maandree@kth.se>2017-11-05 00:09:50 +0100
commit9e8dec188d55ca1f0a3b33acab702ced8ed07a18 (patch)
treecbb43c22e72674dc672e645e6596358e3868568e /src/mds-registry/globals.c
parenttypo (diff)
downloadmds-9e8dec188d55ca1f0a3b33acab702ced8ed07a18.tar.gz
mds-9e8dec188d55ca1f0a3b33acab702ced8ed07a18.tar.bz2
mds-9e8dec188d55ca1f0a3b33acab702ced8ed07a18.tar.xz
Work on changing style, and an important typo fix
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/mds-registry/globals.c')
-rw-r--r--src/mds-registry/globals.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mds-registry/globals.c b/src/mds-registry/globals.c
index 6a93f3f..98d54d5 100644
--- a/src/mds-registry/globals.c
+++ b/src/mds-registry/globals.c
@@ -18,7 +18,6 @@
#include "globals.h"
-
/**
* Value of the ‘Message ID’ header for the next message
*/
@@ -42,7 +41,7 @@ hash_table_t reg_table;
/**
* Reusable buffer for data to send
*/
-char* send_buffer = NULL;
+char *send_buffer = NULL;
/**
* The size of `send_buffer`
@@ -52,7 +51,7 @@ size_t send_buffer_size = 0;
/**
* Used to temporarily store the old value when reallocating heap-allocations
*/
-char* old;
+char *old;
/**
* The master thread
@@ -78,4 +77,3 @@ pthread_mutex_t slave_mutex;
* Condition for slave data
*/
pthread_cond_t slave_cond;
-