head	1.30;
access;
symbols
	RELENG_8_4:1.30.0.2
	RELENG_9_1_0_RELEASE:1.29.2.1.4.2
	RELENG_9_1:1.29.2.1.0.4
	RELENG_9_1_BP:1.29.2.1
	RELENG_8_3_0_RELEASE:1.25.2.1.8.1
	RELENG_8_3:1.25.2.1.0.8
	RELENG_8_3_BP:1.25.2.1
	RELENG_9_0_0_RELEASE:1.29.2.1.2.1
	RELENG_9_0:1.29.2.1.0.2
	RELENG_9_0_BP:1.29.2.1
	RELENG_9:1.29.0.2
	RELENG_9_BP:1.29
	RELENG_7_4_0_RELEASE:1.24.24.1
	RELENG_8_2_0_RELEASE:1.25.2.1.6.1
	RELENG_7_4:1.24.0.24
	RELENG_7_4_BP:1.24
	RELENG_8_2:1.25.2.1.0.6
	RELENG_8_2_BP:1.25.2.1
	RELENG_8_1_0_RELEASE:1.25.2.1.4.1
	RELENG_8_1:1.25.2.1.0.4
	RELENG_8_1_BP:1.25.2.1
	RELENG_7_3_0_RELEASE:1.24.22.1
	RELENG_7_3:1.24.0.22
	RELENG_7_3_BP:1.24
	RELENG_8_0_0_RELEASE:1.25.2.1.2.1
	RELENG_8_0:1.25.2.1.0.2
	RELENG_8_0_BP:1.25.2.1
	RELENG_8:1.25.0.2
	RELENG_8_BP:1.25
	RELENG_7_2_0_RELEASE:1.24.20.1
	RELENG_7_2:1.24.0.20
	RELENG_7_2_BP:1.24
	RELENG_7_1_0_RELEASE:1.24.18.1
	RELENG_6_4_0_RELEASE:1.24.16.1
	RELENG_7_1:1.24.0.18
	RELENG_7_1_BP:1.24
	RELENG_6_4:1.24.0.16
	RELENG_6_4_BP:1.24
	RELENG_7_0_0_RELEASE:1.24
	RELENG_6_3_0_RELEASE:1.24
	RELENG_7_0:1.24.0.14
	RELENG_7_0_BP:1.24
	RELENG_6_3:1.24.0.12
	RELENG_6_3_BP:1.24
	RELENG_7:1.24.0.10
	RELENG_7_BP:1.24
	RELENG_6_2_0_RELEASE:1.24
	RELENG_6_2:1.24.0.8
	RELENG_6_2_BP:1.24
	RELENG_5_5_0_RELEASE:1.23
	RELENG_5_5:1.23.0.10
	RELENG_5_5_BP:1.23
	RELENG_6_1_0_RELEASE:1.24
	RELENG_6_1:1.24.0.6
	RELENG_6_1_BP:1.24
	RELENG_6_0_0_RELEASE:1.24
	RELENG_6_0:1.24.0.4
	RELENG_6_0_BP:1.24
	RELENG_6:1.24.0.2
	RELENG_6_BP:1.24
	RELENG_5_4_0_RELEASE:1.23
	RELENG_5_4:1.23.0.8
	RELENG_5_4_BP:1.23
	RELENG_4_11_0_RELEASE:1.19.2.1
	RELENG_4_11:1.19.2.1.0.16
	RELENG_4_11_BP:1.19.2.1
	RELENG_5_3_0_RELEASE:1.23
	RELENG_5_3:1.23.0.6
	RELENG_5_3_BP:1.23
	RELENG_5:1.23.0.4
	RELENG_5_BP:1.23
	RELENG_4_10_0_RELEASE:1.19.2.1
	RELENG_4_10:1.19.2.1.0.14
	RELENG_4_10_BP:1.19.2.1
	RELENG_5_2_1_RELEASE:1.23
	RELENG_5_2_0_RELEASE:1.23
	RELENG_5_2:1.23.0.2
	RELENG_5_2_BP:1.23
	RELENG_4_9_0_RELEASE:1.19.2.1
	RELENG_4_9:1.19.2.1.0.12
	RELENG_4_9_BP:1.19.2.1
	RELENG_5_1_0_RELEASE:1.22
	RELENG_5_1:1.22.0.4
	RELENG_5_1_BP:1.22
	RELENG_4_8_0_RELEASE:1.19.2.1
	RELENG_4_8:1.19.2.1.0.10
	RELENG_4_8_BP:1.19.2.1
	RELENG_5_0_0_RELEASE:1.22
	RELENG_5_0:1.22.0.2
	RELENG_5_0_BP:1.22
	RELENG_4_7_0_RELEASE:1.19.2.1
	RELENG_4_7:1.19.2.1.0.8
	RELENG_4_7_BP:1.19.2.1
	RELENG_4_6_2_RELEASE:1.19.2.1
	RELENG_4_6_1_RELEASE:1.19.2.1
	RELENG_4_6_0_RELEASE:1.19.2.1
	RELENG_4_6:1.19.2.1.0.6
	RELENG_4_6_BP:1.19.2.1
	RELENG_4_5_0_RELEASE:1.19.2.1
	RELENG_4_5:1.19.2.1.0.4
	RELENG_4_5_BP:1.19.2.1
	RELENG_4_4_0_RELEASE:1.19.2.1
	RELENG_4_4:1.19.2.1.0.2
	RELENG_4_4_BP:1.19.2.1
	RELENG_4_3_0_RELEASE:1.19
	RELENG_4_3:1.19.0.4
	RELENG_4_3_BP:1.19
	RELENG_4_2_0_RELEASE:1.19
	RELENG_4_1_1_RELEASE:1.19
	PRE_SMPNG:1.19
	RELENG_4_1_0_RELEASE:1.19
	RELENG_3_5_0_RELEASE:1.18
	RELENG_4_0_0_RELEASE:1.19
	RELENG_4:1.19.0.2
	RELENG_4_BP:1.19
	RELENG_3_4_0_RELEASE:1.18
	RELENG_3_3_0_RELEASE:1.18
	RELENG_3_2_PAO:1.18.0.4
	RELENG_3_2_PAO_BP:1.18
	RELENG_3_2_0_RELEASE:1.18
	RELENG_3_1_0_RELEASE:1.18
	RELENG_3:1.18.0.2
	RELENG_3_BP:1.18
	RELENG_2_2_8_RELEASE:1.12.2.1
	RELENG_3_0_0_RELEASE:1.17
	RELENG_2_2_7_RELEASE:1.12.2.1
	RELENG_2_2_6_RELEASE:1.12
	RELENG_2_2_5_RELEASE:1.12
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.12
	RELENG_2_2_1_RELEASE:1.12
	RELENG_2_2_0_RELEASE:1.12
	RELENG_2_1_7_RELEASE:1.6.4.1
	RELENG_2_1_6_1_RELEASE:1.6.4.1
	RELENG_2_1_6_RELEASE:1.6.4.1
	RELENG_2_2:1.12.0.2
	RELENG_2_2_BP:1.12
	RELENG_2_1_5_RELEASE:1.6.4.1
	RELENG_2_1_0_RELEASE:1.6
	RELENG_2_1_0:1.6.0.4
	RELENG_2_1_0_BP:1.6
	RELENG_2_0_5_RELEASE:1.6
	RELENG_2_0_5:1.6.0.2
	RELENG_2_0_5_BP:1.6
	RELENG_2_0_5_ALPHA:1.6
	RELEASE_2_0:1.3
	BETA_2_0:1.3
	ALPHA_2_0:1.3.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.30
date	2012.11.17.01.49.47;	author svnexp;	state Exp;
branches
	1.30.2.1;
next	1.29;

1.29
date	2010.08.06.20.13.36;	author ed;	state Exp;
branches
	1.29.2.1;
next	1.28;

1.28
date	2010.03.14.10.18.58;	author ed;	state Exp;
branches;
next	1.27;

1.27
date	2010.03.09.21.01.12;	author ed;	state Exp;
branches;
next	1.26;

1.26
date	2010.01.02.09.58.07;	author ed;	state Exp;
branches;
next	1.25;

1.25
date	2008.06.14.10.42.18;	author ed;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	2004.12.21.09.33.46;	author ru;	state Exp;
branches
	1.24.2.1
	1.24.10.1
	1.24.16.1
	1.24.18.1
	1.24.20.1
	1.24.22.1
	1.24.24.1;
next	1.23;

1.23
date	2003.07.01.15.07.01;	author ru;	state Exp;
branches;
next	1.22;

1.22
date	2002.10.16.14.29.23;	author robert;	state Exp;
branches;
next	1.21;

1.21
date	2002.10.16.14.00.46;	author robert;	state Exp;
branches;
next	1.20;

1.20
date	2001.03.27.17.26.58;	author ru;	state Exp;
branches;
next	1.19;

1.19
date	99.12.22.13.49.14;	author bde;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	98.11.10.06.35.24;	author dima;	state Exp;
branches;
next	1.17;

1.17
date	98.09.09.11.25.39;	author kato;	state Exp;
branches;
next	1.16;

1.16
date	98.06.10.16.20.17;	author jdp;	state Exp;
branches;
next	1.15;

1.15
date	97.04.04.20.10.45;	author ache;	state Exp;
branches;
next	1.14;

1.14
date	97.03.29.19.45.07;	author ache;	state Exp;
branches;
next	1.13;

1.13
date	97.03.29.19.44.14;	author ache;	state Exp;
branches;
next	1.12;

1.12
date	96.10.09.16.12.38;	author ache;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	96.08.12.18.56.09;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	96.08.12.12.13.07;	author ache;	state Exp;
branches;
next	1.9;

1.9
date	96.05.27.22.52.24;	author wosch;	state Exp;
branches;
next	1.8;

1.8
date	96.02.09.00.45.22;	author mpp;	state Exp;
branches;
next	1.7;

1.7
date	95.11.29.21.39.57;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	95.05.01.08.53.02;	author joerg;	state Exp;
branches
	1.6.4.1;
next	1.5;

1.5
date	95.04.10.18.47.34;	author joerg;	state Exp;
branches;
next	1.4;

1.4
date	95.02.20.18.19.50;	author nate;	state Exp;
branches;
next	1.3;

1.3
date	94.08.05.01.35.10;	author wollman;	state Exp;
branches;
next	1.2;

1.2
date	94.05.27.11.01.30;	author rgrimes;	state Exp;
branches;
next	1.1;

1.1
date	94.05.27.04.58.14;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.30.2.1
date	2012.11.17.01.49.47;	author svnexp;	state dead;
branches;
next	1.30.2.2;

1.30.2.2
date	2013.03.28.13.03.13;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.29.2.1.2.1
	1.29.2.1.4.1;
next	1.29.2.2;

1.29.2.2
date	2012.11.17.11.36.22;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.29.2.1.2.2;

1.29.2.1.2.2
date	2012.11.17.08.36.23;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.29.2.1.4.2;

1.29.2.1.4.2
date	2012.11.17.08.47.12;	author svnexp;	state Exp;
branches;
next	;

1.25.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.25.2.1.2.1
	1.25.2.1.4.1
	1.25.2.1.6.1
	1.25.2.1.8.1;
next	1.25.2.2;

1.25.2.2
date	2012.11.17.10.36.07;	author svnexp;	state Exp;
branches;
next	;

1.25.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.25.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.25.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.25.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.25.2.1.8.2;

1.25.2.1.8.2
date	2012.11.17.08.24.48;	author svnexp;	state Exp;
branches;
next	;

1.24.2.1
date	2012.11.17.07.40.21;	author svnexp;	state Exp;
branches;
next	;

1.24.10.1
date	2012.11.17.08.02.39;	author svnexp;	state Exp;
branches;
next	;

1.24.16.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.24.18.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.24.20.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.24.22.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.24.24.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.24.24.2;

1.24.24.2
date	2012.11.17.08.16.47;	author svnexp;	state Exp;
branches;
next	;

1.19.2.1
date	2001.04.25.10.04.23;	author ru;	state Exp;
branches;
next	1.19.2.2;

1.19.2.2
date	2012.11.17.07.23.52;	author svnexp;	state Exp;
branches;
next	;

1.12.2.1
date	98.06.28.05.22.37;	author jdp;	state Exp;
branches;
next	;

1.6.4.1
date	96.06.25.15.08.00;	author joerg;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.27.04.58.15;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.30
log
@Switching exporter and resync
@
text
@#	@@(#)Makefile	8.1 (Berkeley) 6/4/93
# $FreeBSD: head/lib/libcompat/Makefile 210958 2010-08-06 20:13:36Z ed $

LIB=	compat
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
NO_PIC=

WARNS?=	0

.PATH:	${.CURDIR}/4.1 ${.CURDIR}/4.3 ${.CURDIR}/4.4

# compat 4.1 sources
SRCS+=	ftime.c

MAN+=	4.1/ftime.3

# compat 4.3 sources
SRCS+=	re_comp.c rexec.c

MAN+=	4.3/re_comp.3 4.3/rexec.3

MLINKS+=re_comp.3 re_exec.3

# compat 4.4 sources
SRCS+=	cuserid.c

MAN+=	4.4/cuserid.3

.include <bsd.lib.mk>
@


1.30.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:13 +0000
@
text
@d1 29
@


1.30.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 46
#	@@(#)Makefile	8.1 (Berkeley) 6/4/93
# $FreeBSD: releng/8.4/lib/libcompat/Makefile 179784 2008-06-14 10:42:18Z ed $

LIB=compat
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
NO_PIC=

.PATH:	${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
	${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \
	${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \
	${.CURDIR}/regexp

# compat 4.1 sources
# XXX MISSING:	tell.c
SRCS+=	ascftime.c cftime.c ftime.c getpw.c

MAN+=	4.1/ftime.3 4.1/getpw.3
MAN+=	4.1/cftime.3

MLINKS+=cftime.3 ascftime.3

# compat 4.3 sources
# XXX MISSING:	ecvt.c gcvt.c sibuf.c sobuf.c strout.c
SRCS+=	cfree.c regex.c rexec.c

# XXX MISSING:	ecvt.0
MAN+=	4.3/cfree.3 4.3/re_comp.3 4.3/rexec.3

# XXX MISSING:	ecvt.3, so can't MLINK
#MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
MLINKS+=re_comp.3 re_exec.3

# compat 4.4 sources
SRCS+=	cuserid.c
MAN+=	4.4/cuserid.3

# regexp sources
SRCS+=	regerror.c regexp.c regsub.c

MAN+=	regexp/regexp.3

# XXX name clash with libc
# MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regerror.3
MLINKS+=regexp.3 regsub.3

.include <bsd.lib.mk>
@


1.29
log
@SVN rev 210958 on 2010-08-06 20:13:36Z by ed

Remove unneeded functions from libcompat.

Erwin fired up a ports build a couple of weeks ago and it seems the
following functions are not used by any of the 20k ports we have, which
makes me believe they don't have any purpose. Just remove them.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.29.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.29.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/lib/libcompat/Makefile 210958 2010-08-06 20:13:36Z ed $
@


1.29.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.29.2.1.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/lib/libcompat/Makefile 210958 2010-08-06 20:13:36Z ed $
@


1.29.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.29.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/lib/libcompat/Makefile 210958 2010-08-06 20:13:36Z ed $
@


1.28
log
@SVN rev 205146 on 2010-03-14 10:18:58Z by ed

Trim down libcompat by removing <regexp.h>.

Erwin ran an exp-run with libcompat and <regexp.h> removed. It turns out
the regexp library is almost entirely unused. In fact, it looks like it
is sometimes used by accident. Because these function names clash with
libc's <regex.h>, some application use both <regex.h> and libcompat,
which means they link against the wrong regex library.

This commit removes the regexp library and reimplements re_comp() and
re_exec() using <regex.h>. It seems the grammar of the regular
expressions accepted by these functions is similar to POSIX EREs.

After this commit, 1 low-profile port will be broken, but the maintainer
already has a patch for it sitting in his mailbox.
@
text
@d13 1
a13 1
SRCS+=	ascftime.c cftime.c ftime.c getpw.c
d15 1
a15 4
MAN+=	4.1/ftime.3 4.1/getpw.3
MAN+=	4.1/cftime.3

MLINKS+=cftime.3 ascftime.3
d18 1
a18 1
SRCS+=	cfree.c re_comp.c rexec.c
d20 1
a20 1
MAN+=	4.3/cfree.3 4.3/re_comp.3 4.3/rexec.3
@


1.27
log
@SVN rev 204926 on 2010-03-09 21:01:12Z by ed

Add warnings to <regexp.h> and <sys/timeb.h>.

These header files only provide functionality that can be used in
combination with libcompat. In order to prevent people from including
them without any actual use (which happens a lot with <sys/timeb.h>),
put a warning here to make people more aware.

This means we have to lower WARNS for libcompat, which is no big deal.
@
text
@d4 1
a4 1
LIB=compat
d10 1
a10 4
.PATH:	${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
	${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \
	${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \
	${.CURDIR}/regexp
a12 1
# XXX MISSING:	tell.c
d21 1
a21 2
# XXX MISSING:	ecvt.c gcvt.c sibuf.c sobuf.c strout.c
SRCS+=	cfree.c regex.c rexec.c
a22 1
# XXX MISSING:	ecvt.0
a24 2
# XXX MISSING:	ecvt.3, so can't MLINK
#MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
d29 1
a31 9
# regexp sources
SRCS+=	regerror.c regexp.c regsub.c

MAN+=	regexp/regexp.3

# XXX name clash with libc
# MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regerror.3
MLINKS+=regexp.3 regsub.3

@


1.26
log
@SVN rev 201381 on 2010-01-02 09:58:07Z by ed

Build lib/ with WARNS=6 by default.

Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.

I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.
@
text
@d8 1
a8 1
WARNS?=	1
@


1.25
log
@SVN rev 179784 on 2008-06-14 10:42:18Z by ed

Turn sgtty into a binary-only compatibility interface.

sgtty was the original interface to configure terminal attributes on my
UNIX-like operating systems. It has been deprecated by the POSIX termios
interface, which is implemented in almost any modern system.

An advantage of turning this into a binary compatibility interface, is
that we can now eventually remove the COMPAT_43TTY switch from kernel
configurations. This removes many ioctl()'s from the TTY layer.

While there, increase the __FreeBSD_version, which may be useful for the
people working on the Ports tree.

Reviewed by:	kib
Approved by:	philip (mentor)
@
text
@d8 2
@


1.25.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.25.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/8/lib/libcompat/Makefile 179784 2008-06-14 10:42:18Z ed $
@


1.25.2.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.25.2.1.8.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/lib/libcompat/Makefile 179784 2008-06-14 10:42:18Z ed $
@


1.25.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.25.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.25.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.24
log
@NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
@
text
@d15 1
a15 1
SRCS+=	ascftime.c cftime.c ftime.c getpw.c gtty.c stty.c
d17 1
a17 1
MAN+=	4.1/ftime.3 4.1/getpw.3 4.1/stty.3
a19 1
MLINKS+=stty.3 gtty.3
@


1.24.10.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/lib/libcompat/Makefile 139106 2004-12-21 09:33:47Z ru $
@


1.24.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/lib/libcompat/Makefile 139106 2004-12-21 09:33:47Z ru $
@


1.24.24.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.24.24.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/lib/libcompat/Makefile 139106 2004-12-21 09:33:47Z ru $
@


1.24.22.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.24.20.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.24.18.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.24.16.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.23
log
@Axe AINC.

Submitted by:	bde
@
text
@d6 1
a6 1
NOPIC=
@


1.22
log
@ - Remove the lsearch() and lfind() functions and their manpage from
   the compatibility library libcompat.
 - Add new implementations of lsearch() and lfind() which conform to
   IEEE Std 1003.1-2001 to libc.  Add a new manual page for them and
   add them to the makefile.
 - Add function prototypes for lsearch() and lfind() to the search.h
   header.
@
text
@a5 1
AINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH}
@


1.21
log
@ - Remove the old insque() and remque() functions and their manual
   page from the compatibility library.
 - Add new implementations of insque() and remque() which conform to
   IEEE Std 1003.1-2001 to libc.  Add a new manual page for them and
   connect them to the build.
 - Add the prototypes of insque() and remque() to the search.h
   header.
@
text
@d26 1
a26 1
SRCS+=	cfree.c lsearch.c regex.c rexec.c
d29 1
a29 1
MAN+=	4.3/cfree.3 4.3/lsearch.3 4.3/re_comp.3 4.3/rexec.3
a33 1
MLINKS+=lsearch.3 lfind.3
@


1.20
log
@MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libcompat/Makefile,v 1.19 1999/12/22 13:49:14 bde Exp $
a26 1
SRCS+=	insque.c remque.c
d29 1
a29 1
MAN+=	4.3/cfree.3 4.3/insque.3 4.3/lsearch.3 4.3/re_comp.3 4.3/rexec.3
a32 1
MLINKS+=insque.3 remque.3
@


1.19
log
@Aargh, the $FreeBSD$ check caused an inconsistent commit by rejecting
this makefile update which should have been together with the file
removal.

Removed vlimit.3 and vtimes.3.  Removed vlimit.c and vtimes.c from
the "MISSING" list.  These were old variants of get/setrlimit() and
getrusage(), respectively, and were never implemented in FreeBSD.
vlimit.3 referred to <sys/vlimit.h> which was removed recently.
vtimes.3 referred to <sys/vtimes.h> which never existed in FreeBSD.
@
text
@d2 1
a2 1
# $FreeBSD$
d18 2
a19 2
MAN3+=	4.1/ftime.3 4.1/getpw.3 4.1/stty.3
MAN3+=	4.1/cftime.3
d30 1
a30 1
MAN3+=  4.3/cfree.3 4.3/insque.3 4.3/lsearch.3 4.3/re_comp.3 4.3/rexec.3
d40 1
a40 1
MAN3+=	4.4/cuserid.3
d45 1
a45 1
MAN3+=	regexp/regexp.3
@


1.19.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libcompat/Makefile,v 1.19 1999/12/22 13:49:14 bde Exp $
d18 2
a19 2
MAN+=	4.1/ftime.3 4.1/getpw.3 4.1/stty.3
MAN+=	4.1/cftime.3
d30 1
a30 1
MAN+=	4.3/cfree.3 4.3/insque.3 4.3/lsearch.3 4.3/re_comp.3 4.3/rexec.3
d40 1
a40 1
MAN+=	4.4/cuserid.3
d45 1
a45 1
MAN+=	regexp/regexp.3
@


1.19.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/lib/libcompat/Makefile 75949 2001-04-25 10:04:44Z ru $
@


1.18
log
@Cleanup. Make it compile on alpha.
@
text
@d2 1
d15 1
a15 1
# XXX MISSING:	tell.c vlimit.c vtimes.c
d18 1
a18 1
MAN3+=	4.1/ftime.3 4.1/getpw.3 4.1/stty.3 4.1/vlimit.3 4.1/vtimes.3
@


1.17
log
@Change ${MACHINE} into ${MACHINE_ARCH} to support MACHINE=pc98.
@
text
@a16 4
.if (${MACHINE_ARCH} == "vax")
SRCS+=	reset.s
.endif

a25 8

.if	(${MACHINE_ARCH} == "hp300" || ${MACHINE_ARCH} == "luna68k")
SRCS+=	insque.s remque.s
.elif	(${MACHINE_ARCH} == "i386")
SRCS+=	insque.c remque.c
.elif	(${MACHINE_ARCH} == "mips")
SRCS+=	insque.c remque.c
.elif	(${MACHINE_ARCH} == "sparc")
a26 5
.elif	(${MACHINE_ARCH} == "tahoe")
SRCS+=	nargs.s insque.s remque.s
.elif	(${MACHINE_ARCH} == "vax")
SRCS+=	nargs.s insque.s remque.s
.endif
@


1.16
log
@Move ftok() from libcompat to libc, so that it can be closer to its
friend shmget().

PR:		closes misc/6763
@
text
@d5 1
a5 1
AINC=	-I${.CURDIR}/../libc/${MACHINE}
d8 3
a10 3
.PATH:	${.CURDIR}/4.1/${MACHINE} ${.CURDIR}/4.1 \
	${.CURDIR}/4.3/${MACHINE} ${.CURDIR}/4.3 \
	${.CURDIR}/4.4/${MACHINE} ${.CURDIR}/4.4 \
d17 1
a17 1
.if (${MACHINE} == "vax")
d31 1
a31 1
.if	(${MACHINE} == "hp300" || ${MACHINE} == "luna68k")
d33 1
a33 1
.elif	(${MACHINE} == "i386")
d35 1
a35 1
.elif	(${MACHINE} == "mips")
d37 1
a37 1
.elif	(${MACHINE} == "sparc")
d39 1
a39 1
.elif	(${MACHINE} == "tahoe")
d41 1
a41 1
.elif	(${MACHINE} == "vax")
@


1.15
log
@Speedup in case locale not used
@
text
@d11 1
a11 2
	${.CURDIR}/regexp \
	${.CURDIR}/SysV
a65 6

# SysV compat sources
SRCS+=	ftok.c

MAN3+=	SysV/ftok.3

@


1.14
log
@Remove unneded define from CFLAGS (from orand* compatibility)
@
text
@d4 1
a4 1
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
@


1.13
log
@Remove orand* compatibility as promised (next release)
@
text
@d4 1
a4 1
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -DCOMPAT_WEAK_SEEDING
@


1.12
log
@Add orandom(), osrandom(), etc.
@
text
@d12 1
a12 5
	${.CURDIR}/SysV \
	${.CURDIR}/../libc/stdlib

# will be removed with the next FreeBSD release
SRCS=	random.c
@


1.12.2.1
log
@MFC: Move ftok() from libcompat to libc.

PR:		misc/6763
@
text
@d12 1
d71 6
@


1.11
log
@Convert to newly aded collate compare function
@
text
@d4 1
a4 1
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
d12 5
a16 1
	${.CURDIR}/SysV
d20 1
a20 1
SRCS=	ascftime.c cftime.c ftime.c getpw.c gtty.c stty.c
@


1.10
log
@Use collate info for alpha character ranges
8bit cleanup
@
text
@d4 1
a4 1
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
@


1.9
log
@remove MLINKS regcomp.3 regexec.3 regerror.3 due name clash with libc
@
text
@d4 1
a4 1
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
@


1.8
log
@Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.
@
text
@d64 3
a66 2
MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regsub.3 \
	regexp.3 regerror.3
@


1.7
log
@Add cfree.3
@
text
@d53 1
@


1.6
log
@Added function and man page for ftok(3), used in conjunction with
the so-called "System V IPC".

Submitted by:	jbeukema@@HK.Super.Net (John Beukema)
Obtained from:  Th. Lockert <tholo@@sigmasoft.com>, via NetBSD
@
text
@d47 1
a47 1
MAN3+=	4.3/insque.3 4.3/lsearch.3 4.3/re_comp.3 4.3/rexec.3
@


1.6.4.1
log
@Add cfree.3
@
text
@d47 1
a47 1
MAN3+=  4.3/cfree.3 4.3/insque.3 4.3/lsearch.3 4.3/re_comp.3 4.3/rexec.3
@


1.5
log
@My libcompat cleanup.

o	add missing man pages

o	make all man pages clearly refer to the libcompat thingie

o	add the information to the vtimes(3) and vlimit(3) man pages
	that nobody has reimplemented the functions by now

o	add the missing getpw.c

o	add code and man pages for cftime(3) and
	ascftime(3) -- i found them somewhere in old
	unfinished work
@
text
@d11 2
a12 1
	${.CURDIR}/regexp
d65 6
@


1.4
log
@Make libcompat a static only library.

Since functions will come and go from libcompat as they are deprecated
it makes no sense to build a shared library out of it as it will change.

Based on freedback from Terry and Jonas on the mailing lists.
@
text
@d14 2
a15 2
# XXX MISSING:	getpw.c tell.c vlimit.c vtimes.c
SRCS=	ftime.c gtty.c stty.c
d22 1
d25 1
d55 1
@


1.3
log
@Make it work with our make macros.
@
text
@d6 1
@


1.2
log
@Comment out missing sources.
@
text
@d20 1
a20 1
MAN3+=	ftime.0 getpw.0 stty.0 vlimit.0 vtimes.0
d43 1
a43 1
MAN3+=	insque.0 lsearch.0 re_comp.0 rexec.0
d56 1
a56 1
MAN3+=	regexp.0
@


1.1
log
@Initial revision
@
text
@d13 2
a14 1
SRCS=	ftime.c getpw.c gtty.c stty.c tell.c vlimit.c vtimes.c
d25 2
a26 2
SRCS+=	cfree.c ecvt.c gcvt.c lsearch.c regex.c rexec.c sibuf.c sobuf.c \
	strout.c
d42 2
a43 1
MAN3+=	ecvt.0 insque.0 lsearch.0 re_comp.0 rexec.0
d45 2
a46 1
MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
@


1.1.1.1
log
@BSD 4.4 Lite Lib Sources
@
text
@@
