From 57d5fff5f7dd9af27152c84ce041c18597a22766 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 15 Jun 2012 21:52:53 -0400 Subject: 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) --- include/sys/fsuid.h | 4 ++-- include/sys/sendfile.h | 4 ++-- include/sys/sysmacros.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'include/sys') 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) -- cgit v1.2.1