From 28d8e155a978f20ac2fd30594853e6407cdbb129 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Wed, 30 Mar 2005 03:44:55 +0000 Subject: [PATCH] Fix compilation issues with version 4 of gcc. Merge of master-melb:xfs-cmds:21990a by kenmcd. --- db/agf.c | 2 +- db/agf.h | 2 -- db/agfl.c | 2 +- db/agfl.h | 2 -- db/agi.c | 2 +- db/agi.h | 2 -- db/bmapbt.h | 2 -- db/bmroot.h | 2 -- db/bnobt.h | 2 -- db/cntbt.h | 2 -- db/dquot.c | 2 +- db/dquot.h | 2 -- db/inobt.h | 2 -- db/sb.h | 2 -- 14 files changed, 4 insertions(+), 24 deletions(-) diff --git a/db/agf.c b/db/agf.c index def6beaca..8d6488b3a 100644 --- a/db/agf.c +++ b/db/agf.c @@ -31,7 +31,6 @@ */ #include -#include "agf.h" #include "command.h" #include "type.h" #include "faddr.h" @@ -41,6 +40,7 @@ #include "bit.h" #include "output.h" #include "init.h" +#include "agf.h" static int agf_f(int argc, char **argv); static void agf_help(void); diff --git a/db/agf.h b/db/agf.h index 92be8bf9e..d1942b495 100644 --- a/db/agf.h +++ b/db/agf.h @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field agf_flds[]; extern const struct field agf_hfld[]; diff --git a/db/agfl.c b/db/agfl.c index 4bc9c5894..07ce48661 100644 --- a/db/agfl.c +++ b/db/agfl.c @@ -31,7 +31,6 @@ */ #include -#include "agfl.h" #include "command.h" #include "type.h" #include "faddr.h" @@ -41,6 +40,7 @@ #include "bit.h" #include "output.h" #include "init.h" +#include "agfl.h" static int agfl_bno_size(void *obj, int startoff); static int agfl_f(int argc, char **argv); diff --git a/db/agfl.h b/db/agfl.h index fda7b290e..fd1768fb4 100644 --- a/db/agfl.h +++ b/db/agfl.h @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field agfl_flds[]; extern const struct field agfl_hfld[]; diff --git a/db/agi.c b/db/agi.c index 5fbcafbeb..1e0651539 100644 --- a/db/agi.c +++ b/db/agi.c @@ -31,7 +31,6 @@ */ #include -#include "agi.h" #include "command.h" #include "type.h" #include "faddr.h" @@ -41,6 +40,7 @@ #include "bit.h" #include "output.h" #include "init.h" +#include "agi.h" static int agi_f(int argc, char **argv); static void agi_help(void); diff --git a/db/agi.h b/db/agi.h index f4bb791f6..e335c7878 100644 --- a/db/agi.h +++ b/db/agi.h @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field agi_flds[]; extern const struct field agi_hfld[]; diff --git a/db/bmapbt.h b/db/bmapbt.h index ca8b97ab5..345ba89b2 100644 --- a/db/bmapbt.h +++ b/db/bmapbt.h @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field bmapbta_flds[]; extern const struct field bmapbta_hfld[]; extern const struct field bmapbta_key_flds[]; diff --git a/db/bmroot.h b/db/bmroot.h index a6c904cf9..d2fffb5d4 100644 --- a/db/bmroot.h +++ b/db/bmroot.h @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field bmroota_flds[]; extern const struct field bmroota_key_flds[]; extern const struct field bmrootd_flds[]; diff --git a/db/bnobt.h b/db/bnobt.h index b9e4d165e..7887b3c72 100644 --- a/db/bnobt.h +++ b/db/bnobt.h @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field bnobt_flds[]; extern const struct field bnobt_hfld[]; extern const struct field bnobt_key_flds[]; diff --git a/db/cntbt.h b/db/cntbt.h index 061939173..5cc335f2b 100644 --- a/db/cntbt.h +++ b/db/cntbt.h @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field cntbt_flds[]; extern const struct field cntbt_hfld[]; extern const struct field cntbt_key_flds[]; diff --git a/db/dquot.c b/db/dquot.c index 6795d0a60..906544077 100644 --- a/db/dquot.c +++ b/db/dquot.c @@ -34,7 +34,6 @@ #include "bit.h" #include "bmap.h" #include "command.h" -#include "dquot.h" #include "type.h" #include "faddr.h" #include "fprint.h" @@ -43,6 +42,7 @@ #include "io.h" #include "init.h" #include "output.h" +#include "dquot.h" static int dquot_f(int argc, char **argv); static void dquot_help(void); diff --git a/db/dquot.h b/db/dquot.h index ae9c1429b..e098fdc46 100644 --- a/db/dquot.h +++ b/db/dquot.h @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field disk_dquot_flds[]; extern const struct field dqblk_flds[]; extern const struct field dqblk_hfld[]; diff --git a/db/inobt.h b/db/inobt.h index 7bd339fc6..5208edda6 100644 --- a/db/inobt.h +++ b/db/inobt.h @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field inobt_flds[]; extern const struct field inobt_hfld[]; extern const struct field inobt_key_flds[]; diff --git a/db/sb.h b/db/sb.h index 013b32e7e..1489a5d5c 100644 --- a/db/sb.h +++ b/db/sb.h @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field sb_flds[]; extern const struct field sb_hfld[]; -- 2.47.2