From dea71f503c58d39ba5a7901c675f3dcc4522962d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 25 Feb 2007 18:44:30 +0100 Subject: [PATCH] Include from every .c file: * libparted/unit.c, libparted/timer.c: * libparted/cs/natmath.c, libparted/cs/constraint.c: * libparted/tests/label.c, libparted/tests/common.c: * libparted/fs/fat/count.c, libparted/fs/fat/bootsector.c: * libparted/fs/fat/context.c, libparted/fs/fat/fatio.c: * libparted/fs/fat/fat.c, libparted/fs/fat/clstdup.c: * libparted/fs/fat/resize.c, libparted/fs/fat/traverse.c: * libparted/fs/fat/table.c, libparted/fs/fat/calc.c: * libparted/fs/amiga/amiga.c, libparted/labels/fdasd.c: * libparted/labels/dvh.c, libparted/labels/efi_crc32.c: * libparted/labels/vtoc.c, parted/command.c: * libparted/tests/label.c, libparted/tests/common.c: --- libparted/cs/constraint.c | 1 + libparted/cs/natmath.c | 3 ++- libparted/fs/amiga/amiga.c | 1 + libparted/fs/fat/bootsector.c | 1 + libparted/fs/fat/calc.c | 1 + libparted/fs/fat/clstdup.c | 1 + libparted/fs/fat/context.c | 3 ++- libparted/fs/fat/count.c | 1 + libparted/fs/fat/fat.c | 1 + libparted/fs/fat/fatio.c | 3 ++- libparted/fs/fat/resize.c | 1 + libparted/fs/fat/table.c | 1 + libparted/fs/fat/traverse.c | 1 + libparted/labels/dvh.c | 1 + libparted/labels/efi_crc32.c | 1 + libparted/labels/fdasd.c | 1 + libparted/labels/vtoc.c | 1 + libparted/tests/common.c | 1 + libparted/tests/label.c | 1 + libparted/timer.c | 3 ++- libparted/unit.c | 1 + parted/command.c | 3 ++- 22 files changed, 27 insertions(+), 5 deletions(-) diff --git a/libparted/cs/constraint.c b/libparted/cs/constraint.c index b21e9af..6ba941a 100644 --- a/libparted/cs/constraint.c +++ b/libparted/cs/constraint.c @@ -44,6 +44,7 @@ * @{ */ +#include #include #include diff --git a/libparted/cs/natmath.c b/libparted/cs/natmath.c index a774d8f..f725cbb 100644 --- a/libparted/cs/natmath.c +++ b/libparted/cs/natmath.c @@ -1,6 +1,6 @@ /* libparted - a library for manipulating disk partitions - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,6 +31,7 @@ * @{ */ +#include #include #include #include diff --git a/libparted/fs/amiga/amiga.c b/libparted/fs/amiga/amiga.c index 8d06c88..9fa2025 100644 --- a/libparted/fs/amiga/amiga.c +++ b/libparted/fs/amiga/amiga.c @@ -19,6 +19,7 @@ Contributor: Sven Luther */ +#include #include #include #include diff --git a/libparted/fs/fat/bootsector.c b/libparted/fs/fat/bootsector.c index 53ff50b..c8826c8 100644 --- a/libparted/fs/fat/bootsector.c +++ b/libparted/fs/fat/bootsector.c @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include #include "fat.h" #include diff --git a/libparted/fs/fat/calc.c b/libparted/fs/fat/calc.c index 615ce0b..5f8a898 100644 --- a/libparted/fs/fat/calc.c +++ b/libparted/fs/fat/calc.c @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include #include "fat.h" #ifndef DISCOVER_ONLY diff --git a/libparted/fs/fat/clstdup.c b/libparted/fs/fat/clstdup.c index a964a57..a4795b3 100644 --- a/libparted/fs/fat/clstdup.c +++ b/libparted/fs/fat/clstdup.c @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include #include #include "fat.h" diff --git a/libparted/fs/fat/context.c b/libparted/fs/fat/context.c index 9cb3366..bf0df16 100644 --- a/libparted/fs/fat/context.c +++ b/libparted/fs/fat/context.c @@ -1,6 +1,6 @@ /* libparted - Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include #include #include "fat.h" diff --git a/libparted/fs/fat/count.c b/libparted/fs/fat/count.c index dba0edb..7390948 100644 --- a/libparted/fs/fat/count.c +++ b/libparted/fs/fat/count.c @@ -25,6 +25,7 @@ */ +#include #include "fat.h" #include "traverse.h" diff --git a/libparted/fs/fat/fat.c b/libparted/fs/fat/fat.c index b5d6d96..ebf023d 100644 --- a/libparted/fs/fat/fat.c +++ b/libparted/fs/fat/fat.c @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include #include #include diff --git a/libparted/fs/fat/fatio.c b/libparted/fs/fat/fatio.c index e88f85d..98006dc 100644 --- a/libparted/fs/fat/fatio.c +++ b/libparted/fs/fat/fatio.c @@ -1,6 +1,6 @@ /* libparted - Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include #include "fat.h" #include "fatio.h" diff --git a/libparted/fs/fat/resize.c b/libparted/fs/fat/resize.c index 0facf3f..1fb1c8c 100644 --- a/libparted/fs/fat/resize.c +++ b/libparted/fs/fat/resize.c @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include #include "fat.h" #include "traverse.h" #include "count.h" diff --git a/libparted/fs/fat/table.c b/libparted/fs/fat/table.c index d67e42c..3db6127 100644 --- a/libparted/fs/fat/table.c +++ b/libparted/fs/fat/table.c @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include #include #include "fat.h" diff --git a/libparted/fs/fat/traverse.c b/libparted/fs/fat/traverse.c index aadb83d..da63964 100644 --- a/libparted/fs/fat/traverse.c +++ b/libparted/fs/fat/traverse.c @@ -25,6 +25,7 @@ */ +#include #include "fat.h" #include "traverse.h" diff --git a/libparted/labels/dvh.c b/libparted/labels/dvh.c index 4f6cd21..77122d3 100644 --- a/libparted/labels/dvh.c +++ b/libparted/labels/dvh.c @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include #include #include #include diff --git a/libparted/labels/efi_crc32.c b/libparted/labels/efi_crc32.c index a44f262..01cdff7 100644 --- a/libparted/labels/efi_crc32.c +++ b/libparted/labels/efi_crc32.c @@ -48,6 +48,7 @@ /* */ /* -------------------------------------------------------------------- */ +#include #include static uint32_t crc32_tab[] = { diff --git a/libparted/labels/fdasd.c b/libparted/labels/fdasd.c index acdd6a0..198bce2 100644 --- a/libparted/labels/fdasd.c +++ b/libparted/labels/fdasd.c @@ -16,6 +16,7 @@ * */ +#include #include #include diff --git a/libparted/labels/vtoc.c b/libparted/labels/vtoc.c index ad25bbe..028f8b0 100644 --- a/libparted/labels/vtoc.c +++ b/libparted/labels/vtoc.c @@ -1,3 +1,4 @@ +#include #include #ifdef DEBUG_DASD diff --git a/libparted/tests/common.c b/libparted/tests/common.c index 9a4aeb5..1321ee5 100644 --- a/libparted/tests/common.c +++ b/libparted/tests/common.c @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/libparted/tests/label.c b/libparted/tests/label.c index 4b4fdb8..c300088 100644 --- a/libparted/tests/label.c +++ b/libparted/tests/label.c @@ -1,3 +1,4 @@ +#include #include #include diff --git a/libparted/timer.c b/libparted/timer.c index ac403ba..e315273 100644 --- a/libparted/timer.c +++ b/libparted/timer.c @@ -1,6 +1,6 @@ /* libparted - a library for manipulating disk partitions - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -43,6 +43,7 @@ */ +#include #include #include diff --git a/libparted/unit.c b/libparted/unit.c index 13641a6..930276a 100644 --- a/libparted/unit.c +++ b/libparted/unit.c @@ -50,6 +50,7 @@ +#include #include #include diff --git a/parted/command.c b/parted/command.c index 2f78e5c..c3c897f 100644 --- a/parted/command.c +++ b/parted/command.c @@ -1,6 +1,6 @@ /* parted - a frontend to libparted - Copyright (C) 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include #include "command.h" #include "ui.h" -- 2.11.0