summaryrefslogtreecommitdiffstats
path: root/fdisks/fdiskaixlabel.c
diff options
context:
space:
mode:
authorDavidlohr Bueso2012-08-08 13:48:28 +0200
committerKarel Zak2012-08-13 14:49:57 +0200
commit109896c36b768ba7a3ef2ffa581c087272ec329f (patch)
treeb75bfdefb4d1d84afa9f38bb681df37c150895ee /fdisks/fdiskaixlabel.c
parentlscpu: limit options --all, --online, --offline to parsable and extended output (diff)
downloadkernel-qcow2-util-linux-109896c36b768ba7a3ef2ffa581c087272ec329f.tar.gz
kernel-qcow2-util-linux-109896c36b768ba7a3ef2ffa581c087272ec329f.tar.xz
kernel-qcow2-util-linux-109896c36b768ba7a3ef2ffa581c087272ec329f.zip
fdisk: aix: fix warning
Fixes: warning: no previous prototype for ‘aix_nolabel’ Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Diffstat (limited to 'fdisks/fdiskaixlabel.c')
-rw-r--r--fdisks/fdiskaixlabel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fdisks/fdiskaixlabel.c b/fdisks/fdiskaixlabel.c
index 0f249a438..6fe7b59d8 100644
--- a/fdisks/fdiskaixlabel.c
+++ b/fdisks/fdiskaixlabel.c
@@ -38,8 +38,7 @@ aix_info( void ) {
);
}
-void
-aix_nolabel(struct fdisk_context *cxt)
+static void aix_nolabel(struct fdisk_context *cxt)
{
struct aix_partition *aixlabel = (struct aix_partition *) cxt->firstsector;