From 3571c479253d4fec9d6170972aab833add3a149d Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Mon, 5 May 2003 08:37:06 +0000 Subject: -Wall cleanup: trim unused vars, better err() message in stdhosts, and constify rcsid[] deraadt@ ok --- usr.sbin/ypserv/yppush/yppush.c | 4 ++-- usr.sbin/ypserv/yppush/yppush_err.c | 4 ++-- usr.sbin/ypserv/yppush/yppush_proc.c | 4 ++-- usr.sbin/ypserv/yppush/yppush_svc.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'usr.sbin/ypserv/yppush') diff --git a/usr.sbin/ypserv/yppush/yppush.c b/usr.sbin/ypserv/yppush/yppush.c index 1cabfe07f48..d05359a82b1 100644 --- a/usr.sbin/ypserv/yppush/yppush.c +++ b/usr.sbin/ypserv/yppush/yppush.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yppush.c,v 1.18 2002/11/21 21:01:11 deraadt Exp $ */ +/* $OpenBSD: yppush.c,v 1.19 2003/05/05 08:37:05 avsm Exp $ */ /* * Copyright (c) 1995 Mats O Jansson @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: yppush.c,v 1.18 2002/11/21 21:01:11 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: yppush.c,v 1.19 2003/05/05 08:37:05 avsm Exp $"; #endif /* not lint */ #include diff --git a/usr.sbin/ypserv/yppush/yppush_err.c b/usr.sbin/ypserv/yppush/yppush_err.c index c910dede8f2..76b00dfc1b5 100644 --- a/usr.sbin/ypserv/yppush/yppush_err.c +++ b/usr.sbin/ypserv/yppush/yppush_err.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yppush_err.c,v 1.4 2002/07/19 02:38:40 deraadt Exp $ */ +/* $OpenBSD: yppush_err.c,v 1.5 2003/05/05 08:37:05 avsm Exp $ */ /* * Copyright (c) 1996 Mats O Jansson @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: yppush_err.c,v 1.4 2002/07/19 02:38:40 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: yppush_err.c,v 1.5 2003/05/05 08:37:05 avsm Exp $"; #endif /* not lint */ #include diff --git a/usr.sbin/ypserv/yppush/yppush_proc.c b/usr.sbin/ypserv/yppush/yppush_proc.c index 1c451984da9..c5c19e85f4e 100644 --- a/usr.sbin/ypserv/yppush/yppush_proc.c +++ b/usr.sbin/ypserv/yppush/yppush_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yppush_proc.c,v 1.5 2002/07/19 02:38:40 deraadt Exp $ */ +/* $OpenBSD: yppush_proc.c,v 1.6 2003/05/05 08:37:05 avsm Exp $ */ /* * Copyright (c) 1996 Mats O Jansson @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: yppush_proc.c,v 1.5 2002/07/19 02:38:40 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: yppush_proc.c,v 1.6 2003/05/05 08:37:05 avsm Exp $"; #endif /* not lint */ #include diff --git a/usr.sbin/ypserv/yppush/yppush_svc.c b/usr.sbin/ypserv/yppush/yppush_svc.c index 425b8ab2167..142127ad12d 100644 --- a/usr.sbin/ypserv/yppush/yppush_svc.c +++ b/usr.sbin/ypserv/yppush/yppush_svc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yppush_svc.c,v 1.8 2002/07/19 02:38:40 deraadt Exp $ */ +/* $OpenBSD: yppush_svc.c,v 1.9 2003/05/05 08:37:05 avsm Exp $ */ /* * Copyright (c) 1996 Mats O Jansson @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: yppush_svc.c,v 1.8 2002/07/19 02:38:40 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: yppush_svc.c,v 1.9 2003/05/05 08:37:05 avsm Exp $"; #endif /* not lint */ #include "yppush.h" -- cgit v1.2.3