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/proplist.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/proplist.h') diff --git a/src/proplist.h b/src/proplist.h index 1359e2b..f48ab22 100644 --- a/src/proplist.h +++ b/src/proplist.h @@ -1,3 +1,5 @@ +/*-*- Mode: C; c-basic-offset: 8 -*-*/ + #ifndef foocanberraproplisthfoo #define foocanberraproplisthfoo @@ -29,18 +31,18 @@ #define N_HASHTABLE 31 typedef struct ca_prop { - char *key; - size_t nbytes; - struct ca_prop *next_in_slot, *next_item, *prev_item; + char *key; + size_t nbytes; + struct ca_prop *next_in_slot, *next_item, *prev_item; } ca_prop; #define CA_PROP_DATA(p) ((void*) ((char*) (p) + CA_ALIGN(sizeof(ca_prop)))) struct ca_proplist { - ca_mutex *mutex; + ca_mutex *mutex; - ca_prop *prop_hashtable[N_HASHTABLE]; - ca_prop *first_item; + ca_prop *prop_hashtable[N_HASHTABLE]; + ca_prop *first_item; }; int ca_proplist_merge(ca_proplist **_a, ca_proplist *b, ca_proplist *c); -- cgit