mirror of
https://github.com/troglobit/editline.git
synced 2025-09-17 09:28:10 +08:00
Modify header guards, __FILE_H__ is reserved for system headers
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -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 <config.h>
|
||||
#include <stdio.h>
|
||||
@@ -95,4 +95,4 @@ extern char *strdup(const char *s);
|
||||
#endif
|
||||
|
||||
#include "../include/editline.h"
|
||||
#endif /* __PRIVATE_EDITLINE_H__ */
|
||||
#endif /* EDITLINE_PRIVATE_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 <dirent.h>
|
||||
typedef struct dirent DIRENTRY;
|
||||
|
||||
#endif /* __EDITLINE_UNIX_H__ */
|
||||
#endif /* EDITLINE_UNIX_H_ */
|
||||
|
Reference in New Issue
Block a user