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)
This commit is contained in:
parent
1dd6eee692
commit
57d5fff5f7
10 changed files with 18 additions and 18 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _FSUID_H
|
||||
#define _FSUID_H
|
||||
#ifndef _SYS_FSUID_H
|
||||
#define _SYS_FSUID_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _SYS_INOTIFY_H
|
||||
#define _SYS_INOTIFY_H
|
||||
#ifndef _SYS_SENDFILE_H
|
||||
#define _SYS_SENDFILE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue