[PATCH] fdisk: aix: fix warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Davidlohr Bueso <dave@xxxxxxx>

Fixes:
 warning: no previous prototype for ‘aix_nolabel’

Signed-off-by: Davidlohr Bueso <dave@xxxxxxx>
---
 fdisks/fdiskaixlabel.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/fdisks/fdiskaixlabel.c b/fdisks/fdiskaixlabel.c
index 0f249a4..6fe7b59 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;
 
-- 
1.7.4.1



--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux