summaryrefslogtreecommitdiff
path: root/src/proplist.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-20 00:47:45 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-20 00:47:45 +0100
commitd22b71af47b44c1c1d84195743c34b589e6ab19c (patch)
treeefb8dc22a6c0f5712b029dcc1a6b8af11d42babd /src/proplist.h
parenta558bbefae4e0a9f4d2b9aa539b94ae0344f6aed (diff)
downloadlibcanberra-d22b71af47b44c1c1d84195743c34b589e6ab19c.tar.gz
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.
Diffstat (limited to 'src/proplist.h')
-rw-r--r--src/proplist.h14
1 files changed, 8 insertions, 6 deletions
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);