diff options
author | Raghavendra G <raghavendra@zresearch.com> | 2009-03-30 04:21:59 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-03 19:24:40 +0530 |
commit | ab534d54e4e2e1eb921c7a3c98d44137471c7ac5 (patch) | |
tree | b833fcc3a72eb0739fc91a1e4a4e91778ee25d5d /libglusterfsclient/src/libglusterfsclient-internals.h | |
parent | e60d2194840b78034db1ad5c8b385a691ab3ddb6 (diff) |
libglusterfsclient - fix indentation
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient-internals.h')
-rwxr-xr-x | libglusterfsclient/src/libglusterfsclient-internals.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient-internals.h b/libglusterfsclient/src/libglusterfsclient-internals.h index ad5e12fcb20..f9e3fc4288a 100755 --- a/libglusterfsclient/src/libglusterfsclient-internals.h +++ b/libglusterfsclient/src/libglusterfsclient-internals.h @@ -71,7 +71,8 @@ typedef struct { pthread_mutex_lock (&local->lock); \ { \ while (!local->complete) { \ - pthread_cond_wait (&local->reply_cond, &local->lock); \ + pthread_cond_wait (&local->reply_cond, \ + &local->lock); \ } \ } \ pthread_mutex_unlock (&local->lock); \ @@ -81,7 +82,8 @@ typedef struct { #define LIBGF_CLIENT_SIGNAL(signal_handler_list, signo, handler) \ do { \ - libgf_client_signal_handler_t *libgf_handler = CALLOC (1, sizeof (*libgf_handler)); \ + libgf_client_signal_handler_t *libgf_handler = CALLOC (1, \ + sizeof (*libgf_handler)); \ ERR_ABORT (libgf_handler); \ libgf_handler->signo = signo; \ libgf_handler->handler = signal (signo, handler); \ @@ -101,7 +103,8 @@ typedef struct { #define LIBGF_RESTORE_SIGNAL_HANDLERS(local) \ do { \ libgf_client_signal_handler_t *ptr = NULL, *tmp = NULL; \ - list_for_each_entry_safe (ptr, tmp, &local->signal_handlers, next) { \ + list_for_each_entry_safe (ptr, tmp, &local->signal_handlers,\ + next) { \ signal (ptr->signo, ptr->handler); \ FREE (ptr); \ } \ @@ -133,7 +136,8 @@ typedef struct { frame->root->state = ctx; \ pthread_cond_init (&local->reply_cond, NULL); \ pthread_mutex_init (&local->lock, NULL); \ - LIBGF_STACK_WIND_AND_WAIT (frame, libgf_client_##op##_cbk, xl, xl->fops->op, args); \ + LIBGF_STACK_WIND_AND_WAIT (frame, libgf_client_##op##_cbk, xl, \ + xl->fops->op, args); \ dict_unref (refs); \ stub = local->reply_stub; \ FREE (frame->local); \ |