Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin no need for explicit '?'; openbsd
details: https://anonhg.NetBSD.org/src/rev/015dc5318e04
branches: trunk
changeset: 552116:015dc5318e04
user: itojun <itojun%NetBSD.org@localhost>
date: Fri Sep 19 08:24:07 2003 +0000
description:
no need for explicit '?'; openbsd
diffstat:
usr.sbin/syslogd/syslogd.c | 5 ++---
usr.sbin/trpt/trpt.c | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
diffs (52 lines):
diff -r f14f9f1fc152 -r 015dc5318e04 usr.sbin/syslogd/syslogd.c
--- a/usr.sbin/syslogd/syslogd.c Fri Sep 19 08:15:46 2003 +0000
+++ b/usr.sbin/syslogd/syslogd.c Fri Sep 19 08:24:07 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syslogd.c,v 1.60 2003/08/07 11:25:44 agc Exp $ */
+/* $NetBSD: syslogd.c,v 1.61 2003/09/19 08:24:48 itojun Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94";
#else
-__RCSID("$NetBSD: syslogd.c,v 1.60 2003/08/07 11:25:44 agc Exp $");
+__RCSID("$NetBSD: syslogd.c,v 1.61 2003/09/19 08:24:48 itojun Exp $");
#endif
#endif /* not lint */
@@ -280,7 +280,6 @@
if (*user == '\0')
usage();
break;
- case '?':
default:
usage();
}
diff -r f14f9f1fc152 -r 015dc5318e04 usr.sbin/trpt/trpt.c
--- a/usr.sbin/trpt/trpt.c Fri Sep 19 08:15:46 2003 +0000
+++ b/usr.sbin/trpt/trpt.c Fri Sep 19 08:24:07 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trpt.c,v 1.17 2003/08/07 11:25:49 agc Exp $ */
+/* $NetBSD: trpt.c,v 1.18 2003/09/19 08:24:07 itojun Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
#if 0
static char sccsid[] = "@(#)trpt.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: trpt.c,v 1.17 2003/08/07 11:25:49 agc Exp $");
+__RCSID("$NetBSD: trpt.c,v 1.18 2003/09/19 08:24:07 itojun Exp $");
#endif
#endif /* not lint */
@@ -205,7 +205,6 @@
case 'M':
core = optarg;
break;
- case '?':
default:
usage();
/* NOTREACHED */
Home |
Main Index |
Thread Index |
Old Index