Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/gpt Use __dead
details: https://anonhg.NetBSD.org/src/rev/341b9261d06b
branches: trunk
changeset: 768804:341b9261d06b
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Aug 27 17:38:16 2011 +0000
description:
Use __dead
diffstat:
sbin/gpt/add.c | 4 ++--
sbin/gpt/biosboot.c | 6 +++---
sbin/gpt/create.c | 4 ++--
sbin/gpt/destroy.c | 4 ++--
sbin/gpt/gpt.c | 4 ++--
sbin/gpt/label.c | 4 ++--
sbin/gpt/migrate.c | 4 ++--
sbin/gpt/recover.c | 4 ++--
sbin/gpt/remove.c | 4 ++--
sbin/gpt/show.c | 4 ++--
10 files changed, 21 insertions(+), 21 deletions(-)
diffs (216 lines):
diff -r efa6f1214942 -r 341b9261d06b sbin/gpt/add.c
--- a/sbin/gpt/add.c Sat Aug 27 17:36:05 2011 +0000
+++ b/sbin/gpt/add.c Sat Aug 27 17:38:16 2011 +0000
@@ -29,7 +29,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/add.c,v 1.14 2006/06/22 22:05:28 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: add.c,v 1.10 2011/01/06 17:51:28 riz Exp $");
+__RCSID("$NetBSD: add.c,v 1.11 2011/08/27 17:38:16 joerg Exp $");
#endif
#include <sys/types.h>
@@ -52,7 +52,7 @@
const char addmsg[] = "add [-b lba] [-i index] [-s lba] [-t type] "
"device ...";
-static void
+__dead static void
usage_add(void)
{
diff -r efa6f1214942 -r 341b9261d06b sbin/gpt/biosboot.c
--- a/sbin/gpt/biosboot.c Sat Aug 27 17:36:05 2011 +0000
+++ b/sbin/gpt/biosboot.c Sat Aug 27 17:38:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: biosboot.c,v 1.4 2011/08/17 12:27:50 martin Exp $ */
+/* $NetBSD: biosboot.c,v 1.5 2011/08/27 17:38:16 joerg Exp $ */
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#ifdef __RCSID
-__RCSID("$NetBSD: biosboot.c,v 1.4 2011/08/17 12:27:50 martin Exp $");
+__RCSID("$NetBSD: biosboot.c,v 1.5 2011/08/27 17:38:16 joerg Exp $");
#endif
#include <sys/stat.h>
@@ -68,7 +68,7 @@
const char biosbootmsg[] = "biosboot [-c bootcode] [-i index] device ...";
-static void
+__dead static void
usage_biosboot(void)
{
fprintf(stderr, "usage: %s %s\n", getprogname(), biosbootmsg);
diff -r efa6f1214942 -r 341b9261d06b sbin/gpt/create.c
--- a/sbin/gpt/create.c Sat Aug 27 17:36:05 2011 +0000
+++ b/sbin/gpt/create.c Sat Aug 27 17:38:16 2011 +0000
@@ -29,7 +29,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/create.c,v 1.11 2005/08/31 01:47:19 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: create.c,v 1.4 2011/01/06 17:42:10 jakllsch Exp $");
+__RCSID("$NetBSD: create.c,v 1.5 2011/08/27 17:38:16 joerg Exp $");
#endif
#include <sys/types.h>
@@ -49,7 +49,7 @@
const char createmsg[] = "create [-fp] device ...";
-static void
+__dead static void
usage_create(void)
{
diff -r efa6f1214942 -r 341b9261d06b sbin/gpt/destroy.c
--- a/sbin/gpt/destroy.c Sat Aug 27 17:36:05 2011 +0000
+++ b/sbin/gpt/destroy.c Sat Aug 27 17:38:16 2011 +0000
@@ -29,7 +29,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/destroy.c,v 1.6 2005/08/31 01:47:19 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: destroy.c,v 1.3 2007/12/18 21:46:46 riz Exp $");
+__RCSID("$NetBSD: destroy.c,v 1.4 2011/08/27 17:38:16 joerg Exp $");
#endif
#include <sys/types.h>
@@ -48,7 +48,7 @@
const char destroymsg[] = "destroy [-r] device ...";
-static void
+__dead static void
usage_destroy(void)
{
diff -r efa6f1214942 -r 341b9261d06b sbin/gpt/gpt.c
--- a/sbin/gpt/gpt.c Sat Aug 27 17:36:05 2011 +0000
+++ b/sbin/gpt/gpt.c Sat Aug 27 17:38:16 2011 +0000
@@ -31,7 +31,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: gpt.c,v 1.14 2011/01/06 16:30:40 jakllsch Exp $");
+__RCSID("$NetBSD: gpt.c,v 1.15 2011/08/27 17:38:16 joerg Exp $");
#endif
#include <sys/param.h>
@@ -777,7 +777,7 @@
{ NULL, NULL }
};
-static void
+__dead static void
usage(void)
{
extern const char addmsg[], biosbootmsg[], createmsg[], destroymsg[];
diff -r efa6f1214942 -r 341b9261d06b sbin/gpt/label.c
--- a/sbin/gpt/label.c Sat Aug 27 17:36:05 2011 +0000
+++ b/sbin/gpt/label.c Sat Aug 27 17:38:16 2011 +0000
@@ -29,7 +29,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/label.c,v 1.3 2006/10/04 18:20:25 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: label.c,v 1.7 2009/03/12 22:59:03 dyoung Exp $");
+__RCSID("$NetBSD: label.c,v 1.8 2011/08/27 17:38:16 joerg Exp $");
#endif
#include <sys/types.h>
@@ -54,7 +54,7 @@
const char labelmsg2[] = "label [-b lba] [-i index] [-s lba]";
const char labelmsg3[] = " [-t uuid] <-l label | -f file> device ...";
-static void
+__dead static void
usage_label(void)
{
fprintf(stderr,
diff -r efa6f1214942 -r 341b9261d06b sbin/gpt/migrate.c
--- a/sbin/gpt/migrate.c Sat Aug 27 17:36:05 2011 +0000
+++ b/sbin/gpt/migrate.c Sat Aug 27 17:38:16 2011 +0000
@@ -29,7 +29,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/migrate.c,v 1.16 2005/09/01 02:42:52 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: migrate.c,v 1.4 2007/12/18 21:46:46 riz Exp $");
+__RCSID("$NetBSD: migrate.c,v 1.5 2011/08/27 17:38:16 joerg Exp $");
#endif
#include <sys/types.h>
@@ -62,7 +62,7 @@
const char migratemsg[] = "migrate [-fs] device ...";
-static void
+__dead static void
usage_migrate(void)
{
diff -r efa6f1214942 -r 341b9261d06b sbin/gpt/recover.c
--- a/sbin/gpt/recover.c Sat Aug 27 17:36:05 2011 +0000
+++ b/sbin/gpt/recover.c Sat Aug 27 17:38:16 2011 +0000
@@ -29,7 +29,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/recover.c,v 1.8 2005/08/31 01:47:19 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: recover.c,v 1.3 2007/12/18 21:46:47 riz Exp $");
+__RCSID("$NetBSD: recover.c,v 1.4 2011/08/27 17:38:16 joerg Exp $");
#endif
#include <sys/types.h>
@@ -48,7 +48,7 @@
const char recovermsg[] = "recover device ...";
-static void
+__dead static void
usage_recover(void)
{
diff -r efa6f1214942 -r 341b9261d06b sbin/gpt/remove.c
--- a/sbin/gpt/remove.c Sat Aug 27 17:36:05 2011 +0000
+++ b/sbin/gpt/remove.c Sat Aug 27 17:38:16 2011 +0000
@@ -29,7 +29,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/remove.c,v 1.10 2006/10/04 18:20:25 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: remove.c,v 1.5 2009/02/07 17:21:44 uebayasi Exp $");
+__RCSID("$NetBSD: remove.c,v 1.6 2011/08/27 17:38:16 joerg Exp $");
#endif
#include <sys/types.h>
@@ -53,7 +53,7 @@
const char removemsg2[] = "remove [-b lba] [-i index] [-s lba] "
"[-t type] device ...";
-static void
+__dead static void
usage_remove(void)
{
diff -r efa6f1214942 -r 341b9261d06b sbin/gpt/show.c
--- a/sbin/gpt/show.c Sat Aug 27 17:36:05 2011 +0000
+++ b/sbin/gpt/show.c Sat Aug 27 17:38:16 2011 +0000
@@ -29,7 +29,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/show.c,v 1.14 2006/06/22 22:22:32 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: show.c,v 1.6 2011/01/06 16:30:40 jakllsch Exp $");
+__RCSID("$NetBSD: show.c,v 1.7 2011/08/27 17:38:16 joerg Exp $");
#endif
#include <sys/types.h>
@@ -49,7 +49,7 @@
const char showmsg[] = "show [-lu] device ...";
-static void
+__dead static void
usage_show(void)
{
Home |
Main Index |
Thread Index |
Old Index