mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
headers_install: Rename sigaction definition
After the "Avoid multiple definitions of sigaction." change in bionic, we ought to modify our kernel headers to make sure that sigaction struct is not present in uapi headers. Change-Id: I9d668467a74aa2f5ea2e1ae15b6b6a5f546f47ff Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
2e66880b86
commit
29921b0a8b
@ -38,6 +38,7 @@ do
|
||||
-e 's/(^|[^a-zA-Z0-9])__packed([^a-zA-Z0-9_]|$)/\1__attribute__((packed))\2/g' \
|
||||
-e 's/(^|[ \t(])(inline|asm|volatile)([ \t(]|$)/\1__\2__\3/g' \
|
||||
-e 's@#(ifndef|define|endif[ \t]*/[*])[ \t]*_UAPI@#\1 @' \
|
||||
-e 's/struct sigaction/struct __kernel_sigaction/g' \
|
||||
"$SRCDIR/$i" > "$OUTDIR/$FILE.sed" || exit 1
|
||||
scripts/unifdef -U__KERNEL__ -D__EXPORTED_HEADERS__ "$OUTDIR/$FILE.sed" \
|
||||
> "$OUTDIR/$FILE"
|
||||
|
Loading…
x
Reference in New Issue
Block a user