From 41dfffcc1572073c3d1d201a0a19dd2c4ca1bb4a Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 29 Apr 2016 12:42:25 +0200 Subject: Whitespace and c-file-style "BSD". --- c_src/permdb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'c_src/permdb.c') diff --git a/c_src/permdb.c b/c_src/permdb.c index 0cf04ce..66b9813 100644 --- a/c_src/permdb.c +++ b/c_src/permdb.c @@ -155,13 +155,13 @@ static const uint64_t index_commit_cookie = 0x2fb1778c74a402e4; static const uint64_t index_node_cookie = 0x2e0f555ad73210d1; static const uint8_t data_file_cookie[] = - {0xd5, 0x35, 0x51, 0xba, 0x53, 0x9a, 0x42, 0x52}; + {0xd5, 0x35, 0x51, 0xba, 0x53, 0x9a, 0x42, 0x52}; static const uint8_t data_entry_cookie[] = - {0xe7, 0xc1, 0xcd, 0xc2, 0xba, 0x3d, 0xc7, 0x7c}; + {0xe7, 0xc1, 0xcd, 0xc2, 0xba, 0x3d, 0xc7, 0x7c}; static const uint8_t data_commit_start_cookie[] = - {0x75, 0xc2, 0xe4, 0xb3, 0xd5, 0xf6, 0x43, 0xa1}; + {0x75, 0xc2, 0xe4, 0xb3, 0xd5, 0xf6, 0x43, 0xa1}; static const uint8_t data_commit_end_cookie[] = - {0x2b, 0x05, 0xee, 0xd6, 0x1b, 0x5a, 0xf5, 0x50}; + {0x2b, 0x05, 0xee, 0xd6, 0x1b, 0x5a, 0xf5, 0x50}; int committree(permdb_object *state); @@ -852,7 +852,7 @@ addvalue(permdb_object *state, const unsigned char *key, unsigned int keylength, unsigned int foundlevel = utarray_len(nodes) - 1; - node_object lastnode = *(node_object *)utarray_back(nodes); + node_object lastnode = *(node_object *) utarray_back(nodes); if (get_entry_in_node(lastnode, (unsigned char) kb) == 0) { if (data != NULL) { dataoffset = writedata(state, key, data, datalength); @@ -1152,5 +1152,5 @@ portloop(permdb_object *state) } /* Local Variables: */ -/* c-file-style: "linux" */ +/* c-file-style: "BSD" */ /* End: */ -- cgit v1.1