diff --git a/queue/myqueue.h b/queue/myqueue.h index 42da699..3cb1cb3 100644 --- a/queue/myqueue.h +++ b/queue/myqueue.h @@ -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 diff --git a/string/mystring.c b/string/mystring.c index 9f95128..cdd0fd3 100644 --- a/string/mystring.c +++ b/string/mystring.c @@ -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) { diff --git a/vector/myvector.c b/vector/myvector.c index 8142f75..93cdb38 100644 --- a/vector/myvector.c +++ b/vector/myvector.c @@ -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) {