Source-Changes-HG archive

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

[src/trunk]: src/sbin/fdisk one static is enough, otherwise you risk zapping ...



details:   https://anonhg.NetBSD.org/src/rev/1ef9bc96d89b
branches:  trunk
changeset: 768835:1ef9bc96d89b
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Aug 27 20:49:03 2011 +0000

description:
one static is enough, otherwise you risk zapping yourself.

diffstat:

 sbin/fdisk/fdisk.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3b33e3ed3c9c -r 1ef9bc96d89b sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c        Sat Aug 27 20:02:18 2011 +0000
+++ b/sbin/fdisk/fdisk.c        Sat Aug 27 20:49:03 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdisk.c,v 1.132 2011/08/27 17:16:01 joerg Exp $ */
+/*     $NetBSD: fdisk.c,v 1.133 2011/08/27 20:49:03 christos Exp $ */
 
 /*
  * Mach Operating System
@@ -39,7 +39,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: fdisk.c,v 1.132 2011/08/27 17:16:01 joerg Exp $");
+__RCSID("$NetBSD: fdisk.c,v 1.133 2011/08/27 20:49:03 christos Exp $");
 #endif /* not lint */
 
 #define MBRPTYPENAMES
@@ -267,7 +267,7 @@
 static void    intuit_translated_geometry(void);
 static void    get_bios_geometry(void);
 static void    get_extended_ptn(void);
-static static void get_ptn_alignmemt(void);
+static void    get_ptn_alignmemt(void);
 #if defined(USE_DISKLIST)
 static void    get_diskname(const char *, char *, size_t);
 #endif



Home | Main Index | Thread Index | Old Index