musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sys/sysmacros.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012年06月15日 21:52:53 -0400
committerRich Felker <dalias@aerifal.cx>2012年06月15日 21:52:53 -0400
commit57d5fff5f7dd9af27152c84ce041c18597a22766 (patch)
tree776104184e234d868cfee0a84969e533bb55e631 /include/sys/sysmacros.h
parent1dd6eee692be09f04398f378446afec96bc112f2 (diff)
downloadmusl-57d5fff5f7dd9af27152c84ce041c18597a22766.tar.gz
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/sysmacros.h')
-rw-r--r--include/sys/sysmacros.h 4
1 files changed, 2 insertions, 2 deletions
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)
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月07日 15:05:32 +0000

AltStyle によって変換されたページ (->オリジナル) /