Prefix include guards with LIBITE_ to safe guard name space

The tree.h and queue.h include guards must remain so users don't
accidentally get their system queue.h included as well.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-11-28 19:20:53 +01:00
1 parent bc72e1c3ad
commit 407b8f6dbf
7 files changed
+21 -21

No files matched your search

+3 -3
View File
@@ -38,8 +38,8 @@ extern "C"
{
#endif
#ifndef LITE_H_
#define LITE_H_
#ifndef LIBITE_LITE_H_
#define LIBITE_LITE_H_
#include <errno.h>
#include <fcntl.h> /* Definition of AT_* constants for utimensat() */
@@ -245,7 +245,7 @@ static inline int fisslashdir(const char *dir)
#define pidfile_read_pid(file) pidfile_read(file)
#define signal_pidfile(file, signo) pidfile_signal(file, signo)
#endif /* LITE_H_ */
#endif /* LIBITE_LITE_H_ */
#ifdef __cplusplus
}