Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/svhlabel __dead + kill main prototype.
details: https://anonhg.NetBSD.org/src/rev/6cda0a6e5e05
branches: trunk
changeset: 768828:6cda0a6e5e05
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Aug 27 18:55:58 2011 +0000
description:
__dead + kill main prototype.
diffstat:
sbin/svhlabel/svhlabel.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 32e7d3ba3999 -r 6cda0a6e5e05 sbin/svhlabel/svhlabel.c
--- a/sbin/svhlabel/svhlabel.c Sat Aug 27 18:55:51 2011 +0000
+++ b/sbin/svhlabel/svhlabel.c Sat Aug 27 18:55:58 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svhlabel.c,v 1.5 2009/04/06 12:33:11 lukem Exp $ */
+/* $NetBSD: svhlabel.c,v 1.6 2011/08/27 18:55:58 joerg Exp $ */
/*
* Copyright (C) 2007 Stephen M. Rumble.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: svhlabel.c,v 1.5 2009/04/06 12:33:11 lukem Exp $");
+__RCSID("$NetBSD: svhlabel.c,v 1.6 2011/08/27 18:55:58 joerg Exp $");
#endif /* not lint */
#include <stdio.h>
@@ -59,8 +59,7 @@
#include "dkcksum.h"
#include "extern.h"
-int main(int, char **);
-static void usage(void);
+__dead static void usage(void);
static void getlabel(int);
static void setlabel(int, int);
static int getparts(int, int);
Home |
Main Index |
Thread Index |
Old Index