From a70a9336982c2ece1251ffa10ce07f5b4b516131 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 29 Nov 2017 17:17:50 +0100 Subject: [PATCH] Modify header guards, __FILE_H__ is reserved for system headers Signed-off-by: Joachim Nilsson --- include/editline.h | 6 +++--- src/editline.h | 6 +++--- src/unix.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/editline.h b/include/editline.h index 257a346..bb0d1e7 100644 --- a/include/editline.h +++ b/include/editline.h @@ -18,8 +18,8 @@ * ever read sources, credits must appear in the documentation. * 4. This notice may not be removed or altered. */ -#ifndef __EDITLINE_H__ -#define __EDITLINE_H__ +#ifndef EDITLINE_H_ +#define EDITLINE_H_ /* Handy macros when binding keys. */ #define CTL(x) ((x) & 0x1F) @@ -109,4 +109,4 @@ int rl_getc(void); } #endif -#endif /* __EDITLINE_H__ */ +#endif /* EDITLINE_H_ */ diff --git a/src/editline.h b/src/editline.h index e316a41..f9e6e29 100644 --- a/src/editline.h +++ b/src/editline.h @@ -19,8 +19,8 @@ * 4. This notice may not be removed or altered. */ -#ifndef __PRIVATE_EDITLINE_H__ -#define __PRIVATE_EDITLINE_H__ +#ifndef EDITLINE_PRIVATE_H_ +#define EDITLINE_PRIVATE_H_ #include #include @@ -95,4 +95,4 @@ extern char *strdup(const char *s); #endif #include "../include/editline.h" -#endif /* __PRIVATE_EDITLINE_H__ */ +#endif /* EDITLINE_PRIVATE_H_ */ diff --git a/src/unix.h b/src/unix.h index ae4652b..26974b5 100644 --- a/src/unix.h +++ b/src/unix.h @@ -19,8 +19,8 @@ * 4. This notice may not be removed or altered. */ -#ifndef __EDITLINE_UNIX_H__ -#define __EDITLINE_UNIX_H__ +#ifndef EDITLINE_UNIX_H_ +#define EDITLINE_UNIX_H_ #define CRLF "\r\n" #define FORWARD STATIC @@ -32,4 +32,4 @@ #include typedef struct dirent DIRENTRY; -#endif /* __EDITLINE_UNIX_H__ */ +#endif /* EDITLINE_UNIX_H_ */