move definition of linux_fsid_t to common/linux_types.h - it's identical

across all Linux archs
This commit is contained in:
jdolecek 2004-09-20 18:51:55 +00:00
parent 43b3feff28
commit 81ed8f7972
7 changed files with 14 additions and 34 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_types.h,v 1.2 2004/09/19 15:06:32 jdolecek Exp $ */ /* $NetBSD: linux_types.h,v 1.3 2004/09/20 18:51:55 jdolecek Exp $ */
/*- /*-
* Copyright (c) 1998 The NetBSD Foundation, Inc. * Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -39,10 +39,6 @@
#ifndef _ALPHA_LINUX_TYPES_H #ifndef _ALPHA_LINUX_TYPES_H
#define _ALPAH_LINUX_TYPES_H #define _ALPAH_LINUX_TYPES_H
typedef struct {
int val[2];
} linux_fsid_t;
typedef unsigned int linux_uid_t; typedef unsigned int linux_uid_t;
typedef unsigned int linux_gid_t; typedef unsigned int linux_gid_t;
typedef unsigned int linux_dev_t; typedef unsigned int linux_dev_t;

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_types.h,v 1.4 2004/09/19 15:06:32 jdolecek Exp $ */ /* $NetBSD: linux_types.h,v 1.5 2004/09/20 18:51:55 jdolecek Exp $ */
/*- /*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@ -39,10 +39,6 @@
#ifndef _ARM_LINUX_TYPES_H #ifndef _ARM_LINUX_TYPES_H
#define _ARM_LINUX_TYPES_H #define _ARM_LINUX_TYPES_H
typedef struct {
long val[2];
} linux_fsid_t;
typedef unsigned short linux_uid_t; typedef unsigned short linux_uid_t;
typedef unsigned short linux_gid_t; typedef unsigned short linux_gid_t;
typedef unsigned short linux_dev_t; typedef unsigned short linux_dev_t;

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_types.h,v 1.11 2004/09/19 15:06:32 jdolecek Exp $ */ /* $NetBSD: linux_types.h,v 1.12 2004/09/20 18:51:55 jdolecek Exp $ */
/*- /*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@ -39,10 +39,6 @@
#ifndef _I386_LINUX_TYPES_H #ifndef _I386_LINUX_TYPES_H
#define _I386_LINUX_TYPES_H #define _I386_LINUX_TYPES_H
typedef struct {
long val[2];
} linux_fsid_t;
typedef unsigned short linux_uid_t; typedef unsigned short linux_uid_t;
typedef unsigned short linux_gid_t; typedef unsigned short linux_gid_t;
typedef unsigned short linux_dev_t; typedef unsigned short linux_dev_t;

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_types.h,v 1.5 2004/09/19 15:06:32 jdolecek Exp $ */ /* $NetBSD: linux_types.h,v 1.6 2004/09/20 18:51:55 jdolecek Exp $ */
/*- /*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@ -39,10 +39,6 @@
#ifndef _M68K_LINUX_TYPES_H #ifndef _M68K_LINUX_TYPES_H
#define _M68K_LINUX_TYPES_H #define _M68K_LINUX_TYPES_H
typedef struct {
long val[2];
} linux_fsid_t;
typedef unsigned short linux_uid_t; typedef unsigned short linux_uid_t;
typedef unsigned short linux_gid_t; typedef unsigned short linux_gid_t;
typedef unsigned short linux_dev_t; typedef unsigned short linux_dev_t;

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_types.h,v 1.6 2004/09/19 15:06:32 jdolecek Exp $ */ /* $NetBSD: linux_types.h,v 1.7 2004/09/20 18:51:55 jdolecek Exp $ */
/*- /*-
* Copyright (c) 1995, 1998, 2001 The NetBSD Foundation, Inc. * Copyright (c) 1995, 1998, 2001 The NetBSD Foundation, Inc.
@ -42,10 +42,6 @@
/* /*
* from Linux's include/asm-mips/posix-types.h * from Linux's include/asm-mips/posix-types.h
*/ */
typedef struct {
int val[2];
} linux_fsid_t;
typedef int linux_uid_t; typedef int linux_uid_t;
typedef int linux_gid_t; typedef int linux_gid_t;
typedef unsigned int linux_dev_t; typedef unsigned int linux_dev_t;

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_types.h,v 1.3 2004/09/19 15:06:32 jdolecek Exp $ */ /* $NetBSD: linux_types.h,v 1.4 2004/09/20 18:51:55 jdolecek Exp $ */
/*- /*-
* Copyright (c) 1995, 1998, 2001 The NetBSD Foundation, Inc. * Copyright (c) 1995, 1998, 2001 The NetBSD Foundation, Inc.
@ -42,10 +42,6 @@
/* /*
* from Linux's include/asm-ppc/posix-types.h * from Linux's include/asm-ppc/posix-types.h
*/ */
typedef struct {
int val[2];
} linux_fsid_t;
typedef unsigned int linux_uid_t; typedef unsigned int linux_uid_t;
typedef unsigned int linux_gid_t; typedef unsigned int linux_gid_t;
typedef unsigned int linux_dev_t; typedef unsigned int linux_dev_t;

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_types.h,v 1.19 2004/09/20 18:41:08 jdolecek Exp $ */ /* $NetBSD: linux_types.h,v 1.20 2004/09/20 18:51:55 jdolecek Exp $ */
/*- /*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@ -54,11 +54,15 @@
#else #else
typedef unsigned long linux_clock_t; typedef unsigned long linux_clock_t;
typedef unsigned long linux_time_t; typedef unsigned long linux_time_t;
typedef struct {
long val[2];
} linux_fsid_t;
#endif #endif
/*
* From Linux include/asm-.../posix_types.h
*/
typedef struct {
int val[2];
} linux_fsid_t;
/* /*
* Structure for uname(2) * Structure for uname(2)
*/ */