Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit 0a23824

Browse files
committed
chore(coding-style): changed include guards from pragma once to ifndef
1 parent df148fb commit 0a23824

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

include/swapupcase.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
** swapupcase.h
66
*/
77

8-
#pragma once
8+
#ifndef SWAPUPCASE_H_
9+
#define SWAPUPCASE_H_
910

10-
#include <stdbool.h>
11+
#include <stdbool.h>
1112

12-
#define EPITECH_OK 0
13-
#define EPITECH_KO 84
13+
#define EPITECH_OK 0
14+
#define EPITECH_KO 84
1415

15-
#define ERROR -1
16+
#define ERROR -1
1617

1718
int swapupcase(char *str);
1819

@@ -23,3 +24,5 @@ int my_strlen(char *str);
2324
int swap_string(char *str, bool is_string_odd);
2425

2526
int case_string(char *str, bool is_string_odd);
27+
28+
#endif //SWAPUPCASE_H_

0 commit comments

Comments
 (0)