Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/i2cscan Use __dead
details: https://anonhg.NetBSD.org/src/rev/14184ee9d459
branches: trunk
changeset: 770180:14184ee9d459
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Oct 07 10:30:21 2011 +0000
description:
Use __dead
diffstat:
usr.sbin/i2cscan/i2cscan.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r df3dd7131627 -r 14184ee9d459 usr.sbin/i2cscan/i2cscan.c
--- a/usr.sbin/i2cscan/i2cscan.c Fri Oct 07 10:14:22 2011 +0000
+++ b/usr.sbin/i2cscan/i2cscan.c Fri Oct 07 10:30:21 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i2cscan.c,v 1.1 2011/10/02 16:48:47 jmcneill Exp $ */
+/* $NetBSD: i2cscan.c,v 1.2 2011/10/07 10:30:21 joerg Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: i2cscan.c,v 1.1 2011/10/02 16:48:47 jmcneill Exp $");
+__RCSID("$NetBSD: i2cscan.c,v 1.2 2011/10/07 10:30:21 joerg Exp $");
#include <sys/types.h>
#include <sys/ioctl.h>
@@ -51,7 +51,7 @@
#include <dev/i2c/i2c_io.h>
-static void
+__dead static void
usage(const char *pn)
{
fprintf(stderr, "usage: %s <i2cdev>\n", pn);
Home |
Main Index |
Thread Index |
Old Index