From b4568c094196814eca3704e78acfd83f45d4dd0e Mon Sep 17 00:00:00 2001 From: charnier Date: Fri, 31 Oct 1997 12:26:52 +0000 Subject: Add const to rcsid[] definition so that -Wall will not complain. --- include/rpcsvc/nlm_prot.x | 9 ++++++--- include/rpcsvc/sm_inter.x | 9 ++++++--- include/rpcsvc/yp.x | 7 +++++-- 3 files changed, 17 insertions(+), 8 deletions(-) (limited to 'include/rpcsvc') diff --git a/include/rpcsvc/nlm_prot.x b/include/rpcsvc/nlm_prot.x index 04721e2..3f726b6 100644 --- a/include/rpcsvc/nlm_prot.x +++ b/include/rpcsvc/nlm_prot.x @@ -10,9 +10,12 @@ %#define MAXNAMELEN LM_MAXSTRLEN+1 #else %#ifndef lint -%/*static char sccsid[] = "from: @(#)nlm_prot.x 1.8 87/09/21 Copyr 1987 Sun Micro";*/ -%/*static char sccsid[] = "from: * @(#)nlm_prot.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static char rcsid[] = "$Id: nlm_prot.x,v 1.1 1994/08/04 19:01:48 wollman Exp $"; +%#if 0 +%static char sccsid[] = "@(#)from: nlm_prot.x 1.8 87/09/21 Copyr 1987 Sun Micro"; +%static char sccsid[] = "@(#)from: nlm_prot.x 2.1 88/08/01 4.0 RPCSRC"; +%#endif +%static const char rcsid[] = +% "$Id$"; %#endif /* not lint */ #endif diff --git a/include/rpcsvc/sm_inter.x b/include/rpcsvc/sm_inter.x index 49a9304..f1e274d 100644 --- a/include/rpcsvc/sm_inter.x +++ b/include/rpcsvc/sm_inter.x @@ -35,9 +35,12 @@ #ifndef RPC_HDR %#ifndef lint -%/*static char sccsid[] = "from: @(#)sm_inter.x 1.7 87/06/24 Copyr 1987 Sun Micro";*/ -%/*static char sccsid[] = "from: @(#)sm_inter.x 2.2 88/08/01 4.0 RPCSRC";*/ -%static char rcsid[] = "$Id: sm_inter.x,v 1.1 1994/08/04 19:01:53 wollman Exp $"; +%#if 0 +%static char sccsid[] = "@(#)from: sm_inter.x 1.7 87/06/24 Copyr 1987 Sun Micro"; +%static char sccsid[] = "@(#)from: sm_inter.x 2.2 88/08/01 4.0 RPCSRC"; +%#endif +%static const char rcsid[] = +% "$Id$"; %#endif /* not lint */ #endif diff --git a/include/rpcsvc/yp.x b/include/rpcsvc/yp.x index ce5bcf2..a4816fe 100644 --- a/include/rpcsvc/yp.x +++ b/include/rpcsvc/yp.x @@ -33,8 +33,11 @@ #ifndef RPC_HDR %#ifndef lint -%/*static char sccsid[] = "from: @(#)yp.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static char rcsid[] = "$Id: yp.x,v 1.5 1996/02/26 02:22:53 wpaul Exp $"; +%#if 0 +%static char sccsid[] = "@(#)from: yp.x 2.1 88/08/01 4.0 RPCSRC"; +%#endif +%static const char rcsid[] = +% "$Id$"; %#endif /* not lint */ #endif -- cgit v1.1