mirror of
https://github.com/troglobit/libite.git
synced 2026-10-19 10:59:32 +00:00
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:
1 parent
bc72e1c3ad
commit
407b8f6dbf
7 files changed
+21
-21
No files matched your search
+3
-3
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user