Skip to content

Commit 0a317dd

Browse files
ci: format code
1 parent 8b30e16 commit 0a317dd

File tree

8 files changed

+14
-17
lines changed

8 files changed

+14
-17
lines changed

libs/cells/constructors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
void emptyFn(){}
2+
void emptyFn() {}

libs/cells/constructors.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#ifndef CONSTRUCTORS_H_INCLUDED
22
#define CONSTRUCTORS_H_INCLUDED
33

4-
5-
6-
#endif // CONSTRUCTORS_H_INCLUDED
4+
#endif // CONSTRUCTORS_H_INCLUDED

libs/cells/methods.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
void emptyFn(){}
2+
void emptyFn() {}

libs/cells/methods.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#ifndef METHODS_H_INCLUDED
22
#define METHODS_H_INCLUDED
33

4-
5-
6-
#endif // METHODS_H_INCLUDED
4+
#endif // METHODS_H_INCLUDED

libs/macros.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#ifndef MACROS_H_INCLUDED
22
#define MACROS_H_INCLUDED
33

4-
5-
6-
#endif // MACROS_H_INCLUDED
4+
#endif // MACROS_H_INCLUDED

libs/main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
#include "cells/constructors.h"
1010
#include "cells/methods.h"
1111

12-
#endif // MAIN_H_INCLUDED
12+
#endif // MAIN_H_INCLUDED

libs/utilities.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ int getStrLength(char* str) {
33
int length = 0;
44

55
while (*str != '\0')
6-
6+
77
{
88
length++;
99
str++;

libs/utilities.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44
/**
55
* @brief Calculates the length of a string.
66
*
7-
* This function takes a null-terminated string as input and returns the number of characters in the string, excluding the null character.
7+
* This function takes a null-terminated string as input and returns the number
8+
* of characters in the string, excluding the null character.
89
*
9-
* @param str The null-terminated string for which the length needs to be calculated.
10+
* @param str The null-terminated string for which the length needs to be
11+
* calculated.
1012
*
1113
* @return The length of the string.
1214
*
13-
* @warning The input string must be null-terminated, otherwise the behavior is undefined.
15+
* @warning The input string must be null-terminated, otherwise the behavior is
16+
* undefined.
1417
*/
1518
int getStrLength(char* str);
1619

17-
#endif // UTILITIES_H_INCLUDED
20+
#endif // UTILITIES_H_INCLUDED

0 commit comments

Comments
 (0)