Skip to content

Commit

Permalink
posix_types: Make __kernel_[ug]id32_t default to unsigned int
Browse files Browse the repository at this point in the history
All ports use unsigned int for __kernel_[ug]id32_t, but not all ports
use unsigned int for __kernel_[ug]id_t.  Thus, change the default for
the "32" types so ports don't need to override them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Link: http://lkml.kernel.org/r/1328677745-20121-2-git-send-email-hpa@zytor.com
Cc: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
H. Peter Anvin committed Feb 14, 2012
1 parent d65b4e9 commit b4255ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-generic/posix_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ typedef int __kernel_daddr_t;
#endif

#ifndef __kernel_uid32_t
typedef __kernel_uid_t __kernel_uid32_t;
typedef __kernel_gid_t __kernel_gid32_t;
typedef unsigned int __kernel_uid32_t;
typedef unsigned int __kernel_gid32_t;
#endif

#ifndef __kernel_old_uid_t
Expand Down

0 comments on commit b4255ba

Please sign in to comment.