Skip to content

Commit

Permalink
Purge more stray embedded $FreeBSD$ strings
Browse files Browse the repository at this point in the history
These do not use __FBSDID but instead use bare char arrays.

Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D41957
  • Loading branch information
bsdjhb committed Sep 25, 2023
1 parent e4c6841 commit eba230a
Show file tree
Hide file tree
Showing 139 changed files with 0 additions and 476 deletions.
3 changes: 0 additions & 3 deletions lib/lib80211/lib80211_regdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef lint
static const char rcsid[] = "$FreeBSD$";
#endif /* not lint */

#include <sys/types.h>
#include <sys/errno.h>
Expand Down
6 changes: 0 additions & 6 deletions lib/libc/net/nslexer.l
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid =
"$FreeBSD$";
#endif /* LIBC_SCCS and not lint */

#include "namespace.h"
#include <ctype.h>
#define _NS_PRIVATE
Expand Down
5 changes: 0 additions & 5 deletions lib/libc/powerpc/gen/syncicache.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@
* $NetBSD: syncicache.c,v 1.2 1999/05/05 12:36:40 tsubai Exp $
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/param.h>
#if defined(_KERNEL) || defined(_STANDALONE)
#include <sys/time.h>
Expand Down
5 changes: 0 additions & 5 deletions lib/libc/powerpc64/gen/syncicache.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@
* $NetBSD: syncicache.c,v 1.2 1999/05/05 12:36:40 tsubai Exp $
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/param.h>
#if defined(_KERNEL) || defined(_STANDALONE)
#include <sys/time.h>
Expand Down
4 changes: 0 additions & 4 deletions lib/msun/src/e_sqrtf.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
* ====================================================
*/

#ifndef lint
static char rcsid[] = "$FreeBSD$";
#endif

#include "math.h"
#include "math_private.h"

Expand Down
4 changes: 0 additions & 4 deletions lib/msun/src/s_modf.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
* ====================================================
*/

#ifndef lint
static char rcsid[] = "$FreeBSD$";
#endif

/*
* modf(double x, double *iptr)
* return fraction part of x, and return x's integral part in *iptr.
Expand Down
5 changes: 0 additions & 5 deletions lib/msun/src/w_cabsf.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
* Placed into the Public Domain, 1994.
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <complex.h>
#include <math.h>
#include "math_private.h"
Expand Down
5 changes: 0 additions & 5 deletions libexec/atrun/atrun.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

/* System Headers */

#include <sys/fcntl.h>
Expand Down
5 changes: 0 additions & 5 deletions libexec/atrun/gloadavg.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#ifndef __FreeBSD__
#define _POSIX_SOURCE 1

Expand Down
3 changes: 0 additions & 3 deletions libexec/atrun/gloadavg.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,3 @@
*/

double gloadavg(void);
#if 0
static char atrun_h_rcsid[] = "$FreeBSD$";
#endif
2 changes: 0 additions & 2 deletions libexec/comsat/comsat.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ static const char copyright[] =
#if 0
static char sccsid[] = "@(#)comsat.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/param.h>
Expand Down
2 changes: 0 additions & 2 deletions libexec/fingerd/fingerd.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ static const char copyright[] =
#if 0
static char sccsid[] = "@(#)fingerd.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/types.h>
Expand Down
2 changes: 0 additions & 2 deletions libexec/getty/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#if 0
static char sccsid[] = "@(#)from: init.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

/*
Expand Down
2 changes: 0 additions & 2 deletions libexec/getty/subr.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#if 0
static char sccsid[] = "@(#)from: subr.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

/*
Expand Down
5 changes: 0 additions & 5 deletions libexec/mknetid/hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@
#include <sys/types.h>
#include "hash.h"

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

/*
* This hash function is stolen directly from the
* Berkeley DB package. It already exists inside libc, but
Expand Down
5 changes: 0 additions & 5 deletions libexec/mknetid/mknetid.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@

#include "hash.h"

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#define LINSIZ 1024
#define OPSYS "unix"

Expand Down
2 changes: 0 additions & 2 deletions libexec/mknetid/parse_group.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#if 0
static const char sccsid[] = "@(#)getgrent.c 8.2 (Berkeley) 3/21/94";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

/*
Expand Down
2 changes: 0 additions & 2 deletions libexec/rbootd/bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
#if 0
static const char sccsid[] = "@(#)bpf.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/param.h>
Expand Down
2 changes: 0 additions & 2 deletions libexec/rbootd/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
#if 0
static const char sccsid[] = "@(#)conf.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/param.h>
Expand Down
2 changes: 0 additions & 2 deletions libexec/rbootd/parseconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
#if 0
static const char sccsid[] = "@(#)parseconf.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/param.h>
Expand Down
2 changes: 0 additions & 2 deletions libexec/rbootd/rmpproto.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
#if 0
static const char sccsid[] = "@(#)rmpproto.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/param.h>
Expand Down
2 changes: 0 additions & 2 deletions libexec/rbootd/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
#if 0
static const char sccsid[] = "@(#)utils.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/param.h>
Expand Down
5 changes: 0 additions & 5 deletions libexec/revnetgroup/hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
* SUCH DAMAGE.
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Expand Down
5 changes: 0 additions & 5 deletions libexec/revnetgroup/parse_netgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
* SUCH DAMAGE.
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

/*
* This is a specially hacked-up version of getnetgrent.c used to parse
* data from the stored hash table of netgroup info rather than from a
Expand Down
5 changes: 0 additions & 5 deletions libexec/revnetgroup/revnetgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@
* Columbia University, New York City
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <err.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
2 changes: 0 additions & 2 deletions libexec/rpc.rstatd/rstat_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
static char sccsid[] = "from: @(#)rpc.rstatd.c 1.1 86/09/25 Copyr 1984 Sun Micro";
static char sccsid[] = "from: @(#)rstat_proc.c 2.2 88/08/01 4.0 RPCSRC";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif

/*
Expand Down
5 changes: 0 additions & 5 deletions libexec/rpc.rstatd/rstatd.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
* SUCH DAMAGE.
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <stdlib.h>
#include <rpc/rpc.h>
#include <signal.h>
Expand Down
5 changes: 0 additions & 5 deletions libexec/rpc.rusersd/rusers_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
* SUCH DAMAGE.
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#ifdef DEBUG
#include <errno.h>
#endif
Expand Down
5 changes: 0 additions & 5 deletions libexec/rpc.rusersd/rusersd.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
* SUCH DAMAGE.
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <stdlib.h>
#include <rpc/rpc.h>
#include <sys/socket.h>
Expand Down
5 changes: 0 additions & 5 deletions libexec/rpc.sprayd/sprayd.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <rpc/rpc.h>
#include <rpcsvc/spray.h>
#include <signal.h>
Expand Down
1 change: 0 additions & 1 deletion libexec/rtld-elf/rtld_malloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)malloc.c 5.11 (Berkeley) 2/23/91";*/
static char *rcsid = "$FreeBSD$";
#endif /* LIBC_SCCS and not lint */

/*
Expand Down
2 changes: 0 additions & 2 deletions libexec/talkd/announce.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#if 0
static char sccsid[] = "@(#)announce.c 8.3 (Berkeley) 4/28/95";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/types.h>
Expand Down
2 changes: 0 additions & 2 deletions libexec/talkd/print.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#if 0
static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

/* debug print routines */
Expand Down
2 changes: 0 additions & 2 deletions libexec/talkd/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#if 0
static char sccsid[] = "@(#)process.c 8.2 (Berkeley) 11/16/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

/*
Expand Down
2 changes: 0 additions & 2 deletions libexec/talkd/table.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#if 0
static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

/*
Expand Down
2 changes: 0 additions & 2 deletions libexec/talkd/talkd.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ static const char copyright[] =
#if 0
static char sccsid[] = "@(#)talkd.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

/*
Expand Down
2 changes: 0 additions & 2 deletions sbin/dump/dumprmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#if 0
static char sccsid[] = "@(#)dumprmt.c 8.3 (Berkeley) 4/28/95";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/param.h>
Expand Down
2 changes: 0 additions & 2 deletions sbin/dump/itime.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#if 0
static char sccsid[] = "@(#)itime.c 8.1 (Berkeley) 6/5/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/param.h>
Expand Down
2 changes: 0 additions & 2 deletions sbin/dump/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ static const char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95";
#endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */

#include <sys/param.h>
Expand Down
Loading

0 comments on commit eba230a

Please sign in to comment.