]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/mn10300/include/uapi/asm/posix_types.h
1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
4 * Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd.
5 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public Licence
9 * as published by the Free Software Foundation; either version
10 * 2 of the Licence, or (at your option) any later version.
12 #ifndef _ASM_POSIX_TYPES_H
13 #define _ASM_POSIX_TYPES_H
16 * This file is generally used by user-level software, so you need to
17 * be a little careful about namespace pollution etc. Also, we cannot
18 * assume GCC is being used.
21 typedef unsigned short __kernel_mode_t
;
22 #define __kernel_mode_t __kernel_mode_t
24 typedef unsigned short __kernel_ipc_pid_t
;
25 #define __kernel_ipc_pid_t __kernel_ipc_pid_t
27 typedef unsigned short __kernel_uid_t
;
28 typedef unsigned short __kernel_gid_t
;
29 #define __kernel_uid_t __kernel_uid_t
32 typedef unsigned int __kernel_size_t
;
33 typedef signed int __kernel_ssize_t
;
35 typedef unsigned long __kernel_size_t
;
36 typedef signed long __kernel_ssize_t
;
38 typedef int __kernel_ptrdiff_t
;
39 #define __kernel_size_t __kernel_size_t
41 typedef unsigned short __kernel_old_dev_t
;
42 #define __kernel_old_dev_t __kernel_old_dev_t
44 #include <asm-generic/posix_types.h>
46 #endif /* _ASM_POSIX_TYPES_H */