fixes/improvements from Christos Zoulas <christos@deshaw.com>.

This commit is contained in:
cgd 1994-03-05 00:35:26 +00:00
parent ea40a9138d
commit 298fa8e587
28 changed files with 66 additions and 55 deletions

View File

@ -0,0 +1,11 @@
# $Id: Makefile,v 1.1 1994/03/05 00:35:26 cgd Exp $
OBJ=lstAppend.o lstDupl.o lstInit.o lstOpen.o lstAtEnd.o lstEnQueue.o \
lstInsert.o lstAtFront.o lstIsAtEnd.o lstClose.o lstFind.o lstIsEmpty.o \
lstRemove.o lstConcat.o lstFindFrom.o lstLast.o lstReplace.o lstFirst.o \
lstDatum.o lstForEach.o lstMember.o lstSucc.o lstDeQueue.o \
lstForEachFrom.o lstDestroy.o lstNext.o
CC=gcc -Wall
CFLAGS=-I.. -O
all: ${OBJ}

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstAppend.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstAppend.c,v 1.2 1993/08/01 18:12:40 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstAppend.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstAppend.c,v 1.3 1994/03/05 00:35:29 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstAtEnd.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstAtEnd.c,v 1.2 1993/08/01 18:12:39 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstAtEnd.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstAtEnd.c,v 1.3 1994/03/05 00:35:31 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstAtFront.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstAtFront.c,v 1.2 1993/08/01 18:12:38 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstAtFront.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstAtFront.c,v 1.3 1994/03/05 00:35:32 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstClose.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstClose.c,v 1.2 1993/08/01 18:12:37 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstClose.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstClose.c,v 1.3 1994/03/05 00:35:34 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstConcat.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstConcat.c,v 1.2 1993/08/01 18:12:36 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstConcat.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstConcat.c,v 1.3 1994/03/05 00:35:35 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstDatum.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstDatum.c,v 1.2 1993/08/01 18:12:35 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstDatum.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstDatum.c,v 1.3 1994/03/05 00:35:36 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstDeQueue.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstDeQueue.c,v 1.2 1993/08/01 18:12:34 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstDeQueue.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstDeQueue.c,v 1.3 1994/03/05 00:35:37 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstDestroy.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstDestroy.c,v 1.2 1993/08/01 18:12:33 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstDestroy.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstDestroy.c,v 1.3 1994/03/05 00:35:38 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstDupl.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstDupl.c,v 1.2 1993/08/01 18:12:32 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstDupl.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstDupl.c,v 1.3 1994/03/05 00:35:39 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstEnQueue.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstEnQueue.c,v 1.2 1993/08/01 18:12:31 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstEnQueue.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstEnQueue.c,v 1.3 1994/03/05 00:35:40 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstFind.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstFind.c,v 1.2 1993/08/01 18:12:30 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstFind.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstFind.c,v 1.3 1994/03/05 00:35:41 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstFindFrom.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstFindFrom.c,v 1.2 1993/08/01 18:12:29 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstFindFrom.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstFindFrom.c,v 1.3 1994/03/05 00:35:42 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstFirst.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstFirst.c,v 1.2 1993/08/01 18:12:29 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstFirst.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstFirst.c,v 1.3 1994/03/05 00:35:43 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstForEach.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstForEach.c,v 1.2 1993/08/01 18:12:28 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstForEach.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstForEach.c,v 1.3 1994/03/05 00:35:44 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstForEachFrom.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstForEachFrom.c,v 1.2 1993/08/01 18:12:27 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstForEachFrom.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstForEachFrom.c,v 1.3 1994/03/05 00:35:45 cgd Exp $";
#endif /* not lint */
/*-
@ -88,9 +88,9 @@ Lst_ForEachFrom (l, ln, proc, d)
next = tln->nextPtr;
tln->useCount++;
(void) tln->useCount++;
result = (*proc) (tln->datum, d);
tln->useCount--;
(void) tln->useCount--;
/*
* We're done with the traversal if

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstInit.c 5.4 (Berkeley) 12/28/90";*/
static char rcsid[] = "$Id: lstInit.c,v 1.2 1993/08/01 18:12:26 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstInit.c 5.4 (Berkeley) 12/28/90"; */
static char *rcsid = "$Id: lstInit.c,v 1.3 1994/03/05 00:35:46 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstInsert.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstInsert.c,v 1.2 1993/08/01 18:12:25 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstInsert.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstInsert.c,v 1.3 1994/03/05 00:35:47 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)lstInt.h 5.4 (Berkeley) 12/28/90
* $Id: lstInt.h,v 1.2 1993/08/01 18:12:41 mycroft Exp $
* $Id: lstInt.h,v 1.3 1994/03/05 00:35:48 cgd Exp $
*/
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstIsAtEnd.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstIsAtEnd.c,v 1.2 1993/08/01 18:12:24 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstIsAtEnd.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstIsAtEnd.c,v 1.3 1994/03/05 00:35:48 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstIsEmpty.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstIsEmpty.c,v 1.2 1993/08/01 18:12:23 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstIsEmpty.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstIsEmpty.c,v 1.3 1994/03/05 00:35:49 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstLast.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstLast.c,v 1.2 1993/08/01 18:12:22 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstLast.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstLast.c,v 1.3 1994/03/05 00:35:50 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstMember.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstMember.c,v 1.2 1993/08/01 18:12:20 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstMember.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstMember.c,v 1.3 1994/03/05 00:35:51 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstNext.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstNext.c,v 1.2 1993/08/01 18:12:19 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstNext.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstNext.c,v 1.3 1994/03/05 00:35:52 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstOpen.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstOpen.c,v 1.2 1993/08/01 18:12:18 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstOpen.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstOpen.c,v 1.3 1994/03/05 00:35:54 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstRemove.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstRemove.c,v 1.2 1993/08/01 18:12:17 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstRemove.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstRemove.c,v 1.3 1994/03/05 00:35:55 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstReplace.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstReplace.c,v 1.2 1993/08/01 18:12:16 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstReplace.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstReplace.c,v 1.3 1994/03/05 00:35:56 cgd Exp $";
#endif /* not lint */
/*-

View File

@ -35,8 +35,8 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)lstSucc.c 5.3 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: lstSucc.c,v 1.2 1993/08/01 18:12:14 mycroft Exp $";
/* from: static char sccsid[] = "@(#)lstSucc.c 5.3 (Berkeley) 6/1/90"; */
static char *rcsid = "$Id: lstSucc.c,v 1.3 1994/03/05 00:35:57 cgd Exp $";
#endif /* not lint */
/*-