Skip to content

Commit

Permalink
asm-generic: fcntl: make exported headers use strict posix types
Browse files Browse the repository at this point in the history
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: Lucian Adrian Grijincu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
  • Loading branch information
luciang authored and arndb committed Oct 9, 2010
1 parent c669112 commit 269b8fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-generic/fcntl.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@

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

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

0 comments on commit 269b8fd

Please sign in to comment.