Skip to contentSkip to conversation

fdisk: aix: fix warning

PATCH Applied Davidlohr Bueso 2 participants 2 messages Aug 8, 2012 – Aug 13, 2012 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fdisk: aix: fix warning

From: Davidlohr Bueso <[email protected]>

Fixes:
warning: no previous prototype for ‘aix_nolabel’

---
 fdisks/fdiskaixlabel.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
fdisks/fdiskaixlabel.c +1 -2
index 0f249a4..6fe7b59 100644
@@ -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;
 
Signature · 1 line
1.7.4.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Davidlohr Bueso
 fdisks/fdiskaixlabel.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com