git: da5432eda807 - main - Remove $FreeBSD$: alt two-line .c pattern
Date: Wed, 16 Aug 2023 17:57:02 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=da5432eda807c4b7232d030d5157d5b417ea4f52 commit da5432eda807c4b7232d030d5157d5b417ea4f52 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2023-08-16 17:54:48 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-08-16 17:54:48 +0000 Remove $FreeBSD$: alt two-line .c pattern Remove /^\s*__RCSID\("\$FreeBSD\$"\);\n\n/ --- sbin/routed/if.c | 3 --- sbin/routed/input.c | 3 --- sbin/routed/main.c | 2 -- sbin/routed/output.c | 3 --- sbin/routed/parms.c | 3 --- sbin/routed/radix.c | 3 --- sbin/routed/rdisc.c | 3 --- sbin/routed/table.c | 3 --- sbin/routed/trace.c | 3 --- usr.bin/getconf/tests/arch_type.c | 2 -- usr.bin/procstat/tests/while1.c | 2 -- usr.sbin/mpsutil/mps_cmd.c | 2 -- usr.sbin/mpsutil/mps_debug.c | 2 -- usr.sbin/mpsutil/mps_flash.c | 2 -- usr.sbin/mpsutil/mps_set.c | 2 -- usr.sbin/mpsutil/mps_show.c | 2 -- usr.sbin/mpsutil/mps_slot.c | 2 -- usr.sbin/mpsutil/mpsutil.c | 2 -- usr.sbin/mptutil/mpt_cam.c | 2 -- usr.sbin/mptutil/mpt_cmd.c | 2 -- usr.sbin/mptutil/mpt_config.c | 2 -- usr.sbin/mptutil/mpt_drive.c | 2 -- usr.sbin/mptutil/mpt_evt.c | 2 -- usr.sbin/mptutil/mpt_show.c | 2 -- usr.sbin/mptutil/mpt_volume.c | 2 -- usr.sbin/mptutil/mptutil.c | 2 -- 26 files changed, 60 deletions(-) diff --git a/sbin/routed/if.c b/sbin/routed/if.c index 83d8fe503893..72894942fe05 100644 --- a/sbin/routed/if.c +++ b/sbin/routed/if.c @@ -33,9 +33,6 @@ #include "defs.h" #include "pathnames.h" - -__RCSID("$FreeBSD$"); - struct ifhead ifnet = LIST_HEAD_INITIALIZER(ifnet); /* all interfaces */ struct ifhead remote_if = LIST_HEAD_INITIALIZER(remote_if); /* remote interfaces */ diff --git a/sbin/routed/input.c b/sbin/routed/input.c index 854bfd8d9e66..238933d29e6b 100644 --- a/sbin/routed/input.c +++ b/sbin/routed/input.c @@ -30,9 +30,6 @@ */ #include "defs.h" - -__RCSID("$FreeBSD$"); - static void input(struct sockaddr_in *, struct interface *, struct interface *, struct rip *, int); static void input_route(naddr, naddr, struct rt_spare *, struct netinfo *); diff --git a/sbin/routed/main.c b/sbin/routed/main.c index cfc0c148971c..491a40026345 100644 --- a/sbin/routed/main.c +++ b/sbin/routed/main.c @@ -38,8 +38,6 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1988, 1993 " "The Regents of the University of California." " All rights reserved."); -__RCSID("$FreeBSD$"); - pid_t mypid; naddr myaddr; /* system address */ diff --git a/sbin/routed/output.c b/sbin/routed/output.c index 2974f2a6f19e..726fab2c11b5 100644 --- a/sbin/routed/output.c +++ b/sbin/routed/output.c @@ -31,9 +31,6 @@ #include "defs.h" -__RCSID("$FreeBSD$"); - - u_int update_seqno; diff --git a/sbin/routed/parms.c b/sbin/routed/parms.c index bd4fab045f84..59f141c76c66 100644 --- a/sbin/routed/parms.c +++ b/sbin/routed/parms.c @@ -33,9 +33,6 @@ #include "pathnames.h" #include <sys/stat.h> -__RCSID("$FreeBSD$"); - - static struct parm *parms; struct intnet *intnets; struct r1net *r1nets; diff --git a/sbin/routed/radix.c b/sbin/routed/radix.c index 36a404f9d043..c4a0e5de2c2c 100644 --- a/sbin/routed/radix.c +++ b/sbin/routed/radix.c @@ -36,9 +36,6 @@ */ #include "defs.h" - -__RCSID("$FreeBSD$"); - #define log(x, msg) syslog(x, msg) #define panic(s) {log(LOG_ERR,s); exit(1);} #define min(a,b) (((a)<(b))?(a):(b)) diff --git a/sbin/routed/rdisc.c b/sbin/routed/rdisc.c index f72b1dd7fda7..2dfcc15768d8 100644 --- a/sbin/routed/rdisc.c +++ b/sbin/routed/rdisc.c @@ -33,9 +33,6 @@ #include <netinet/in_systm.h> #include <netinet/ip.h> #include <netinet/ip_icmp.h> - -__RCSID("$FreeBSD$"); - /* router advertisement ICMP packet */ struct icmp_ad { u_int8_t icmp_type; /* type of message */ diff --git a/sbin/routed/table.c b/sbin/routed/table.c index 7db9d784278b..b43c8bb873a5 100644 --- a/sbin/routed/table.c +++ b/sbin/routed/table.c @@ -30,9 +30,6 @@ */ #include "defs.h" - -__RCSID("$FreeBSD$"); - static struct rt_spare *rts_better(struct rt_entry *); static struct rt_spare rts_empty = {0,0,0,HOPCNT_INFINITY,0,0,0}; static void set_need_flash(void); diff --git a/sbin/routed/trace.c b/sbin/routed/trace.c index 1166039499bd..59929b130b1a 100644 --- a/sbin/routed/trace.c +++ b/sbin/routed/trace.c @@ -36,9 +36,6 @@ #include <sys/signal.h> #include <fcntl.h> -__RCSID("$FreeBSD$"); - - int tracelevel, new_tracelevel; FILE *ftrace; /* output trace file */ diff --git a/usr.bin/getconf/tests/arch_type.c b/usr.bin/getconf/tests/arch_type.c index 6cf7a2fb7f79..731ddae656bb 100644 --- a/usr.bin/getconf/tests/arch_type.c +++ b/usr.bin/getconf/tests/arch_type.c @@ -24,8 +24,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <assert.h> #include <stdbool.h> #include <stdlib.h> diff --git a/usr.bin/procstat/tests/while1.c b/usr.bin/procstat/tests/while1.c index cc201b712745..c81e8193e072 100644 --- a/usr.bin/procstat/tests/while1.c +++ b/usr.bin/procstat/tests/while1.c @@ -24,8 +24,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <stdlib.h> #include <unistd.h> diff --git a/usr.sbin/mpsutil/mps_cmd.c b/usr.sbin/mpsutil/mps_cmd.c index a9cb269abc5f..448e4cea602f 100644 --- a/usr.sbin/mpsutil/mps_cmd.c +++ b/usr.sbin/mpsutil/mps_cmd.c @@ -34,8 +34,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <sys/ioctl.h> diff --git a/usr.sbin/mpsutil/mps_debug.c b/usr.sbin/mpsutil/mps_debug.c index 83315090d730..a3297b4176cd 100644 --- a/usr.sbin/mpsutil/mps_debug.c +++ b/usr.sbin/mpsutil/mps_debug.c @@ -28,8 +28,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <sys/types.h> diff --git a/usr.sbin/mpsutil/mps_flash.c b/usr.sbin/mpsutil/mps_flash.c index a0cc4a877b7d..98f476e3e234 100644 --- a/usr.sbin/mpsutil/mps_flash.c +++ b/usr.sbin/mpsutil/mps_flash.c @@ -24,8 +24,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/stat.h> #include <sys/param.h> #include <sys/mman.h> diff --git a/usr.sbin/mpsutil/mps_set.c b/usr.sbin/mpsutil/mps_set.c index 91e4d23ab78d..b75f327cb993 100644 --- a/usr.sbin/mpsutil/mps_set.c +++ b/usr.sbin/mpsutil/mps_set.c @@ -26,8 +26,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <err.h> diff --git a/usr.sbin/mpsutil/mps_show.c b/usr.sbin/mpsutil/mps_show.c index ef20cd942d86..7454bf15e06c 100644 --- a/usr.sbin/mpsutil/mps_show.c +++ b/usr.sbin/mpsutil/mps_show.c @@ -32,8 +32,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <sys/endian.h> diff --git a/usr.sbin/mpsutil/mps_slot.c b/usr.sbin/mpsutil/mps_slot.c index 396d5706cd5f..2c90668ec808 100644 --- a/usr.sbin/mpsutil/mps_slot.c +++ b/usr.sbin/mpsutil/mps_slot.c @@ -26,8 +26,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/stat.h> #include <sys/param.h> #include <sys/mman.h> diff --git a/usr.sbin/mpsutil/mpsutil.c b/usr.sbin/mpsutil/mpsutil.c index cb9563cefa60..0b6baa3aab93 100644 --- a/usr.sbin/mpsutil/mpsutil.c +++ b/usr.sbin/mpsutil/mpsutil.c @@ -32,8 +32,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <err.h> diff --git a/usr.sbin/mptutil/mpt_cam.c b/usr.sbin/mptutil/mpt_cam.c index 04c13f0c25fe..2e636fb6ce25 100644 --- a/usr.sbin/mptutil/mpt_cam.c +++ b/usr.sbin/mptutil/mpt_cam.c @@ -31,8 +31,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <err.h> #include <errno.h> diff --git a/usr.sbin/mptutil/mpt_cmd.c b/usr.sbin/mptutil/mpt_cmd.c index 79422c12dd89..8bcec08cd232 100644 --- a/usr.sbin/mptutil/mpt_cmd.c +++ b/usr.sbin/mptutil/mpt_cmd.c @@ -31,8 +31,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <sys/ioctl.h> diff --git a/usr.sbin/mptutil/mpt_config.c b/usr.sbin/mptutil/mpt_config.c index 58894fb5ecc9..36c3881969c9 100644 --- a/usr.sbin/mptutil/mpt_config.c +++ b/usr.sbin/mptutil/mpt_config.c @@ -31,8 +31,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <err.h> diff --git a/usr.sbin/mptutil/mpt_drive.c b/usr.sbin/mptutil/mpt_drive.c index 96004c7a3e74..bf5a52b0bfd7 100644 --- a/usr.sbin/mptutil/mpt_drive.c +++ b/usr.sbin/mptutil/mpt_drive.c @@ -31,8 +31,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <ctype.h> diff --git a/usr.sbin/mptutil/mpt_evt.c b/usr.sbin/mptutil/mpt_evt.c index b1c423f71031..6a077d4a906e 100644 --- a/usr.sbin/mptutil/mpt_evt.c +++ b/usr.sbin/mptutil/mpt_evt.c @@ -31,8 +31,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <ctype.h> diff --git a/usr.sbin/mptutil/mpt_show.c b/usr.sbin/mptutil/mpt_show.c index 4bc2c7569f53..a70a4dd90bc8 100644 --- a/usr.sbin/mptutil/mpt_show.c +++ b/usr.sbin/mptutil/mpt_show.c @@ -31,8 +31,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <err.h> diff --git a/usr.sbin/mptutil/mpt_volume.c b/usr.sbin/mptutil/mpt_volume.c index ddf6492a8592..71251e591eec 100644 --- a/usr.sbin/mptutil/mpt_volume.c +++ b/usr.sbin/mptutil/mpt_volume.c @@ -31,8 +31,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <err.h> diff --git a/usr.sbin/mptutil/mptutil.c b/usr.sbin/mptutil/mptutil.c index 0ec6620c8688..5e8b2eb71291 100644 --- a/usr.sbin/mptutil/mptutil.c +++ b/usr.sbin/mptutil/mptutil.c @@ -31,8 +31,6 @@ */ #include <sys/cdefs.h> -__RCSID("$FreeBSD$"); - #include <sys/param.h> #include <sys/errno.h> #include <err.h>