From d22b71af47b44c1c1d84195743c34b589e6ab19c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 20 Feb 2010 00:47:45 +0100 Subject: src: reindent for 8ch indenting I am slowly moving all my projects to kernel-inspired 8ch indenting. This will break patches that haven't been merged yet, which I am aware of, but OTOH in times of git's --ignore-space-change shouldn't be too problematic. Yes, I am aware that reindenting like this sucks, but I cannot stand 4ch indenting anymore. Sorry. --- src/common.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index 1d93034..116a25a 100644 --- a/src/common.h +++ b/src/common.h @@ -1,3 +1,5 @@ +/*-*- Mode: C; c-basic-offset: 8 -*-*/ + #ifndef foocanberracommonh #define foocanberracommonh @@ -26,24 +28,24 @@ #include "mutex.h" struct ca_context { - ca_bool_t opened; - ca_mutex *mutex; + ca_bool_t opened; + ca_mutex *mutex; - ca_proplist *props; + ca_proplist *props; - char *driver; - char *device; + char *driver; + char *device; - void *private; + void *private; #ifdef HAVE_DSO - void *private_dso; + void *private_dso; #endif }; typedef enum ca_cache_control { - CA_CACHE_CONTROL_NEVER, - CA_CACHE_CONTROL_PERMANENT, - CA_CACHE_CONTROL_VOLATILE + CA_CACHE_CONTROL_NEVER, + CA_CACHE_CONTROL_PERMANENT, + CA_CACHE_CONTROL_VOLATILE } ca_cache_control_t; int ca_parse_cache_control(ca_cache_control_t *control, const char *c); -- cgit