summaryrefslogtreecommitdiff
path: root/src/libply/ply-bitarray.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2014-05-20 14:40:51 -0400
committerRay Strode <rstrode@redhat.com>2014-05-20 15:16:48 -0400
commit85704145ee1a83fccc1be59ca30d690d756acaad (patch)
tree1f91825341be9365d5a4a990292451f7dacb1392 /src/libply/ply-bitarray.c
parent5e55bdb33e98cbaee7e81d362828f258e8bf5d20 (diff)
Reindent
I don't like the GNU coding style and I'm not sure why I chose it. This commit changes things over to use 8 space tabs and 'if () {' style braces.
Diffstat (limited to 'src/libply/ply-bitarray.c')
-rw-r--r--src/libply/ply-bitarray.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/libply/ply-bitarray.c b/src/libply/ply-bitarray.c
index 3d0cdd0c..a988e920 100644
--- a/src/libply/ply-bitarray.c
+++ b/src/libply/ply-bitarray.c
@@ -34,12 +34,13 @@ int
ply_bitarray_count (ply_bitarray_t *bitarray,
int size)
{
- int count = 0;
- int i;
- for (i = 0; i < size; i++){
- count += ply_bitarray_lookup(bitarray, i);
- }
- return count;
+ int count = 0;
+ int i;
+
+ for (i = 0; i < size; i++) {
+ count += ply_bitarray_lookup (bitarray, i);
+ }
+ return count;
}
/* vim: set ts=4 sw=4 expandtab autoindent cindent cino={.5s,(0: */