Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135852
b: refs/heads/master
c: 3a471cb
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann authored and Ingo Molnar committed Mar 26, 2009
1 parent 0566dde commit f523d4e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 60c195c729532815c5209c81442fa0eb26ace706
refs/heads/master: 3a471cbc081b6bf2b58a48db13d734ecd3b0d437
5 changes: 3 additions & 2 deletions trunk/include/asm-generic/statfs.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#ifndef _GENERIC_STATFS_H
#define _GENERIC_STATFS_H

#ifndef __KERNEL_STRICT_NAMES
# include <linux/types.h>
#include <linux/types.h>

#ifdef __KERNEL__
typedef __kernel_fsid_t fsid_t;
#endif

Expand Down
13 changes: 2 additions & 11 deletions trunk/include/linux/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <linux/posix_types.h>

#ifndef __KERNEL_STRICT_NAMES
#ifdef __KERNEL__

typedef __u32 __kernel_dev_t;

Expand All @@ -31,7 +31,6 @@ typedef __kernel_timer_t timer_t;
typedef __kernel_clockid_t clockid_t;
typedef __kernel_mqd_t mqd_t;

#ifdef __KERNEL__
typedef _Bool bool;

typedef __kernel_uid32_t uid_t;
Expand All @@ -47,14 +46,6 @@ typedef __kernel_old_uid_t old_uid_t;
typedef __kernel_old_gid_t old_gid_t;
#endif /* CONFIG_UID16 */

/* libc5 includes this file to define uid_t, thus uid_t can never change
* when it is included by non-kernel code
*/
#else
typedef __kernel_uid_t uid_t;
typedef __kernel_gid_t gid_t;
#endif /* __KERNEL__ */

#if defined(__GNUC__)
typedef __kernel_loff_t loff_t;
#endif
Expand Down Expand Up @@ -156,7 +147,7 @@ typedef unsigned long blkcnt_t;
#define pgoff_t unsigned long
#endif

#endif /* __KERNEL_STRICT_NAMES */
#endif /* __KERNEL__ */

/*
* Below are truly Linux-specific types that should never collide with
Expand Down

0 comments on commit f523d4e

Please sign in to comment.