From 3b9b82ec5eae6fae2e2736240f30786c905cbc61 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 15 Jun 2002 22:05:19 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/bits/ustat.h: Moved to ... * sysdeps/generic/bits/ustat.h: ... here (was almost identical). --- ChangeLog | 3 +++ bits/ustat.h | 19 ++++++++----------- sysdeps/generic/bits/ustat.h | 19 ++++++++----------- sysdeps/unix/sysv/linux/bits/ustat.h | 27 --------------------------- 4 files changed, 19 insertions(+), 49 deletions(-) delete mode 100644 sysdeps/unix/sysv/linux/bits/ustat.h diff --git a/ChangeLog b/ChangeLog index f022b32..b49b6fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-06-15 Roland McGrath + * sysdeps/unix/sysv/linux/bits/ustat.h: Moved to ... + * sysdeps/generic/bits/ustat.h: ... here (was almost identical). + * sysdeps/alpha/divrem.h: Use local label instead of global one for jump to local subroutine. diff --git a/bits/ustat.h b/bits/ustat.h index 7925b9a..aeafc22 100644 --- a/bits/ustat.h +++ b/bits/ustat.h @@ -1,5 +1,4 @@ -/* Generic declaration of ustat structure. - Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -17,14 +16,12 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -__BEGIN_DECLS +#include struct ustat -{ - __daddr_t f_tfree; /* total free */ - __ino_t f_tinode; /* total inodes free */ - char f_fname[6]; /* filesystem name */ - char f_fpack[6]; /* filesystem pack name */ -}; - -__END_DECLS + { + __daddr_t f_tfree; + __ino_t f_tinode; + char f_fname[6]; + char f_fpack[6]; + }; diff --git a/sysdeps/generic/bits/ustat.h b/sysdeps/generic/bits/ustat.h index 7925b9a..aeafc22 100644 --- a/sysdeps/generic/bits/ustat.h +++ b/sysdeps/generic/bits/ustat.h @@ -1,5 +1,4 @@ -/* Generic declaration of ustat structure. - Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -17,14 +16,12 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -__BEGIN_DECLS +#include struct ustat -{ - __daddr_t f_tfree; /* total free */ - __ino_t f_tinode; /* total inodes free */ - char f_fname[6]; /* filesystem name */ - char f_fpack[6]; /* filesystem pack name */ -}; - -__END_DECLS + { + __daddr_t f_tfree; + __ino_t f_tinode; + char f_fname[6]; + char f_fpack[6]; + }; diff --git a/sysdeps/unix/sysv/linux/bits/ustat.h b/sysdeps/unix/sysv/linux/bits/ustat.h deleted file mode 100644 index aeafc22..0000000 --- a/sysdeps/unix/sysv/linux/bits/ustat.h +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#include - -struct ustat - { - __daddr_t f_tfree; - __ino_t f_tinode; - char f_fname[6]; - char f_fpack[6]; - }; -- 2.7.4