Skip to content

Commit

Permalink
Use __FBSDID vs. rcsid[].
Browse files Browse the repository at this point in the history
  • Loading branch information
David E. O'Brien authored and David E. O'Brien committed May 4, 2003
1 parent 20430a6 commit 1542dbb
Show file tree
Hide file tree
Showing 21 changed files with 41 additions and 57 deletions.
4 changes: 2 additions & 2 deletions include/rpcsvc/bootparam_prot.x
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)bootparam_prot.x 1.2 87/06/24 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)bootparam_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

const MAX_MACHINE_NAME = 255;
Expand Down
6 changes: 2 additions & 4 deletions include/rpcsvc/crypt.x
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@
*/

#ifndef RPC_HDR
%#ifndef lint
%static const char rcsid[] =
% "$FreeBSD$";
%#endif
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

/*
Expand Down
3 changes: 2 additions & 1 deletion include/rpcsvc/key_prot.x
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@
*/

%/* From: #pragma ident "@(#)key_prot.x 1.7 94/04/29 SMI" */
%/* $FreeBSD$ */
%/* Copyright (c) 1990, 1991 Sun Microsystems, Inc. */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
%
%/*
% * Compiled from key_prot.x using rpcgen.
Expand Down
4 changes: 2 additions & 2 deletions include/rpcsvc/klm_prot.x
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)klm_prot.x 1.7 87/07/08 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)klm_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

const LM_MAXSTRLEN = 1024;
Expand Down
4 changes: 2 additions & 2 deletions include/rpcsvc/mount.x
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)mount.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)mount.x 2.1 88/08/01 4.0 RPCSRC";*/
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

const MNTPATHLEN = 1024; /* maximum bytes in a pathname argument */
Expand Down
4 changes: 2 additions & 2 deletions include/rpcsvc/nfs_prot.x
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)nfs_prot.x 1.2 87/10/12 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)nfs_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

const NFS_PORT = 2049;
Expand Down
6 changes: 2 additions & 4 deletions include/rpcsvc/nis.x
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@
% */

#ifndef RPC_HDR
%#ifndef lint
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

/*
Expand Down
6 changes: 2 additions & 4 deletions include/rpcsvc/nis_cache.x
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@
/* From: %#pragma ident "@(#)nis_cache.x 1.11 94/05/03 SMI" */

#ifndef RPC_HDR
%#ifndef lint
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

#ifdef RPC_HDR
Expand Down
6 changes: 2 additions & 4 deletions include/rpcsvc/nis_callback.x
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@
/* From: %#pragma ident "@(#)nis_callback.x 1.7 94/05/03 SMI" */

#ifndef RPC_HDR
%#ifndef lint
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

/*
Expand Down
3 changes: 1 addition & 2 deletions include/rpcsvc/nlm_prot.x
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@
#else
%#include <sys/cdefs.h>
%#ifndef lint
%static const char rcsid[] =
% "$FreeBSD$";
%/*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";*/
%__RCSID("$NetBSD: nlm_prot.x,v 1.6 2000/06/07 14:30:15 bouyer Exp $");
%#endif /* not lint */
%__FBSDID("$FreeBSD$");
#endif

/*
Expand Down
4 changes: 2 additions & 2 deletions include/rpcsvc/pmap_prot.x
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
% * Sun Microsystems, Inc.
% * 2550 Garcia Avenue
% * Mountain View, California 94043
% *
% * $FreeBSD$
% */
%/*
% * Copyright (c) 1984,1989 by Sun Microsystems, Inc.
Expand All @@ -37,6 +35,8 @@
#ifdef RPC_HDR
%
%#pragma ident "@(#)pmap_prot.x 1.6 94/04/29 SMI"
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
%
%#ifndef _KERNEL
%
Expand Down
4 changes: 2 additions & 2 deletions include/rpcsvc/rex.x
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)rex.x 1.3 87/09/18 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)rex.x 2.1 88/08/01 4.0 RPCSRC";*/
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

const STRINGSIZE = 1024;
Expand Down
4 changes: 2 additions & 2 deletions include/rpcsvc/rnusers.x
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)rnusers.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)rnusers.x 2.1 88/08/01 4.0 RPCSRC";*/
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

const MAXUSERS = 100;
Expand Down
4 changes: 2 additions & 2 deletions include/rpcsvc/rquota.x
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)rquota.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)rquota.x 2.1 88/08/01 4.0 RPCSRC";*/
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

const RQ_PATHLEN = 1024;
Expand Down
4 changes: 2 additions & 2 deletions include/rpcsvc/rstat.x
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)rstat.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)rstat.x 2.2 88/08/01 4.0 RPCSRC";*/
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");

#endif /* def RPC_HDR */

Expand Down
6 changes: 2 additions & 4 deletions include/rpcsvc/sm_inter.x
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@
*/

#ifndef RPC_HDR
%#ifndef lint
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

program SM_PROG {
Expand Down
4 changes: 2 additions & 2 deletions include/rpcsvc/spray.x
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)spray.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)spray.x 2.1 88/08/01 4.0 RPCSRC";*/
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

const SPRAYMAX = 8845; /* max amount can spray */
Expand Down
6 changes: 2 additions & 4 deletions include/rpcsvc/yp.x
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@
*/

#ifndef RPC_HDR
%#ifndef lint
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

const YPMAXRECORD = 1024;
Expand Down
4 changes: 2 additions & 2 deletions include/rpcsvc/yppasswd.x
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
%#ifndef lint
%/*static char sccsid[] = "from: @(#)yppasswd.x 1.1 87/04/13 Copyr 1987 Sun Micro";*/
%/*static char sccsid[] = "from: @(#)yppasswd.x 2.1 88/08/01 4.0 RPCSRC";*/
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

program YPPASSWDPROG {
Expand Down
6 changes: 2 additions & 4 deletions include/rpcsvc/ypupdate_prot.x
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@
%
%/* from @(#)ypupdate_prot.x 1.3 91/03/11 TIRPC 1.0 */
#ifndef RPC_HDR
%#ifndef lint
%static const char rcsid[] =
% "$FreeBSD$";
%#endif
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif
%
%/*
Expand Down
6 changes: 2 additions & 4 deletions include/rpcsvc/ypxfrd.x
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@
*/

#ifndef RPC_HDR
%#ifndef lint
%static const char rcsid[] =
% "$FreeBSD$";
%#endif /* not lint */
%#include <sys/cdefs.h>
%__FBSDID("$FreeBSD$");
#endif

/* XXX cribbed from yp.x */
Expand Down

0 comments on commit 1542dbb

Please sign in to comment.