style: clang-format
This commit is contained in:
@@ -69,4 +69,4 @@ int queue_get_rear(queue_s *queue, void *out);
|
||||
*/
|
||||
void queue_free(queue_s *queue);
|
||||
|
||||
#endif // MYCLIB_QUEUE_H
|
||||
#endif // MYCLIB_QUEUE_H
|
||||
|
||||
@@ -33,7 +33,8 @@ static void buffer_key_init(void) {
|
||||
|
||||
/* Returns the next power of two of a number */
|
||||
static size_t next_power_two(size_t len) {
|
||||
if (len == 0) return 1;
|
||||
if (len == 0)
|
||||
return 1;
|
||||
|
||||
size_t p = 1;
|
||||
while (p < len) {
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
|
||||
/* Returns the next power of two of a number */
|
||||
static size_t next_power_two(size_t len) {
|
||||
if (len == 0) return 1;
|
||||
if (len == 0)
|
||||
return 1;
|
||||
|
||||
size_t p = 1;
|
||||
while (p < len) {
|
||||
|
||||
Reference in New Issue
Block a user