diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-06-15 21:52:53 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-06-15 21:52:53 -0400 |
commit | 57d5fff5f7dd9af27152c84ce041c18597a22766 (patch) | |
tree | 776104184e234d868cfee0a84969e533bb55e631 /include/sys | |
parent | 1dd6eee692be09f04398f378446afec96bc112f2 (diff) | |
download | musl-57d5fff5f7dd9af27152c84ce041c18597a22766.tar.gz musl-57d5fff5f7dd9af27152c84ce041c18597a22766.tar.bz2 musl-57d5fff5f7dd9af27152c84ce041c18597a22766.tar.xz musl-57d5fff5f7dd9af27152c84ce041c18597a22766.zip |
header file fixes: multiple include guard consistency and correctness
one file was reusing another file's macro name, and many had
inconsistent underscores and application of SYS prefix, etc.
patch by Szabolcs Nagy (nsz)
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/fsuid.h | 4 | ||||
-rw-r--r-- | include/sys/sendfile.h | 4 | ||||
-rw-r--r-- | include/sys/sysmacros.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/sys/fsuid.h b/include/sys/fsuid.h index f62184c5..c7a9b8fa 100644 --- a/include/sys/fsuid.h +++ b/include/sys/fsuid.h @@ -1,5 +1,5 @@ -#ifndef _FSUID_H -#define _FSUID_H +#ifndef _SYS_FSUID_H +#define _SYS_FSUID_H #ifdef __cplusplus extern "C" { diff --git a/include/sys/sendfile.h b/include/sys/sendfile.h index 4bd3ec6c..1f2b5231 100644 --- a/include/sys/sendfile.h +++ b/include/sys/sendfile.h @@ -1,5 +1,5 @@ -#ifndef _SYS_INOTIFY_H -#define _SYS_INOTIFY_H +#ifndef _SYS_SENDFILE_H +#define _SYS_SENDFILE_H #ifdef __cplusplus extern "C" { diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h index a2e2eaa2..65ab60cd 100644 --- a/include/sys/sysmacros.h +++ b/include/sys/sysmacros.h @@ -1,5 +1,5 @@ -#ifndef _SYSMACROS_H -#define _SYSMACROS_H +#ifndef _SYS_SYSMACROS_H +#define _SYS_SYSMACROS_H #define major(x) (((x) >> 8) & 0xff) #define minor(x) ((x) & 0xff) |