Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 269b8fd5 authored by Lucian Adrian Grijincu's avatar Lucian Adrian Grijincu Committed by Arnd Bergmann
Browse files

asm-generic: fcntl: make exported headers use strict posix types



All 'pid_t' were changed to '__kernel_pid_t' in a previous commit:
make exported headers use strict posix types

    A number of standard posix types are used in exported headers,
    which is not allowed if __STRICT_KERNEL_NAMES is defined. In order
    to get rid of the non-__STRICT_KERNEL_NAMES part and to make sane
    headers the default, we have to change them all to safe types.

but a later change introduced 'pid_t' again:
    fcntl: add F_[SG]ETOWN_EX

This makes asm-generic/fcntl.h d use strict posix types again.

Signed-off-by: default avatarLucian Adrian Grijincu <lucian.grijincu@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent c6691126
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@

struct f_owner_ex {
	int	type;
	pid_t	pid;
	__kernel_pid_t	pid;
};

/* for F_[GET|SET]FL */