From bb2109e7838ed18d96574d91cc1e09bb0e49ecf7 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Mon, 12 Mar 1990 01:03:31 -0800 Subject: [PATCH] add Berkeley specific copyright notice SCCS-vsn: usr.bin/make/lst.lib/lstAppend.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstAtEnd.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstAtFront.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstClose.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstConcat.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstCur.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstDatum.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstDeQueue.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstDestroy.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstDupl.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstEnQueue.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstFake.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstFind.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstFindFrom.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstFirst.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstForEach.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstForEachFrom.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstIndex.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstInit.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstInsert.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstIsAtEnd.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstIsEmpty.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstLast.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstLength.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstMember.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstMove.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstNext.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstOpen.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstPred.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstPrev.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstRemove.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstReplace.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstSetCirc.c 5.2 SCCS-vsn: usr.bin/make/lst.lib/lstSucc.c 5.2 --- usr/src/usr.bin/make/lst.lib/lstAppend.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstAtEnd.c | 39 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstAtFront.c | 39 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstClose.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstConcat.c | 39 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstCur.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstDatum.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstDeQueue.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstDestroy.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstDupl.c | 31 ++++++++++---- usr/src/usr.bin/make/lst.lib/lstEnQueue.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstFake.c | 40 +++++++++++------- usr/src/usr.bin/make/lst.lib/lstFind.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstFindFrom.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstFirst.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstForEach.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstForEachFrom.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstIndex.c | 40 +++++++++++------- usr/src/usr.bin/make/lst.lib/lstInit.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstInsert.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstIsAtEnd.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstIsEmpty.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstLast.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstLength.c | 41 ++++++++++-------- usr/src/usr.bin/make/lst.lib/lstMember.c | 41 ++++++++++-------- usr/src/usr.bin/make/lst.lib/lstMove.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstNext.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstOpen.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstPred.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstPrev.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstRemove.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstReplace.c | 38 ++++++++++------- usr/src/usr.bin/make/lst.lib/lstSetCirc.c | 42 +++++++++++-------- usr/src/usr.bin/make/lst.lib/lstSucc.c | 38 ++++++++++------- 34 files changed, 816 insertions(+), 486 deletions(-) diff --git a/usr/src/usr.bin/make/lst.lib/lstAppend.c b/usr/src/usr.bin/make/lst.lib/lstAppend.c index 524c651727..f09d1238db 100644 --- a/usr/src/usr.bin/make/lst.lib/lstAppend.c +++ b/usr/src/usr.bin/make/lst.lib/lstAppend.c @@ -1,21 +1,31 @@ -/*- - * LstAppend.c -- - * Add a new node with a new datum after an existing node +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstAppend.c,v 1.6 89/06/13 15:01:33 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstAppend.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstAppend.c -- + * Add a new node with a new datum after an existing node + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstAtEnd.c b/usr/src/usr.bin/make/lst.lib/lstAtEnd.c index cac554d730..af6aecd724 100644 --- a/usr/src/usr.bin/make/lst.lib/lstAtEnd.c +++ b/usr/src/usr.bin/make/lst.lib/lstAtEnd.c @@ -1,22 +1,31 @@ -/*- - * LstAtEnd.c -- - * Add a node at the end of the list +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by the Regents of the University of California - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstAtEnd.c,v 1.3 88/11/17 20:51:48 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstAtEnd.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstAtEnd.c -- + * Add a node at the end of the list + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstAtFront.c b/usr/src/usr.bin/make/lst.lib/lstAtFront.c index 5fa2414686..31b5c4f7b7 100644 --- a/usr/src/usr.bin/make/lst.lib/lstAtFront.c +++ b/usr/src/usr.bin/make/lst.lib/lstAtFront.c @@ -1,22 +1,31 @@ -/*- - * LstAtFront.c -- - * Add a node at the front of the list +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by the Regents of the University of California - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstAtFront.c,v 1.3 88/11/17 20:51:51 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstAtFront.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstAtFront.c -- + * Add a node at the front of the list + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstClose.c b/usr/src/usr.bin/make/lst.lib/lstClose.c index 065a4bd18d..c3b913c4ff 100644 --- a/usr/src/usr.bin/make/lst.lib/lstClose.c +++ b/usr/src/usr.bin/make/lst.lib/lstClose.c @@ -1,3 +1,27 @@ +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef lint +static char sccsid[] = "@(#)lstClose.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + /*- * LstClose.c -- * Close a list for sequential access. @@ -6,21 +30,7 @@ * access the list based on it. Because the list is circular, Lst_Next * and Lst_Prev will go around the list forever. Lst_IsAtEnd must be * used to determine when to stop. - * - * Copyright (c) 1988 by University of California Regents - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. */ -#ifndef lint -static char *rcsid = -"$Id: lstClose.c,v 1.6 88/11/17 20:51:55 adam Exp $ SPRITE (Berkeley)"; -#endif lint #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstConcat.c b/usr/src/usr.bin/make/lst.lib/lstConcat.c index b997232e32..ea938e1987 100644 --- a/usr/src/usr.bin/make/lst.lib/lstConcat.c +++ b/usr/src/usr.bin/make/lst.lib/lstConcat.c @@ -1,22 +1,31 @@ -/*- - * listConcat.c -- - * Function to concatentate two lists. +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by the Regents of the University of California - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstConcat.c,v 1.6 89/07/06 12:50:04 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstConcat.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * listConcat.c -- + * Function to concatentate two lists. + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstCur.c b/usr/src/usr.bin/make/lst.lib/lstCur.c index 3fcffd8734..558f1b9951 100644 --- a/usr/src/usr.bin/make/lst.lib/lstCur.c +++ b/usr/src/usr.bin/make/lst.lib/lstCur.c @@ -1,3 +1,27 @@ +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef lint +static char sccsid[] = "@(#)lstCur.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + /*- * LstCur.c -- * Return the current node in the list. @@ -6,21 +30,7 @@ * access the list based on it. Because the list is circular, Lst_Next * and Lst_Prev will go around the list forever. Lst_IsAtEnd must be * used to determine when to stop. - * - * Copyright (c) 1988 by University of California Regents - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. */ -#ifndef lint -static char *rcsid = -"$Id: lstCur.c,v 1.4 88/11/17 20:52:03 adam Exp $ SPRITE (Berkeley)"; -#endif lint #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstDatum.c b/usr/src/usr.bin/make/lst.lib/lstDatum.c index cb10b86104..288b3dbce2 100644 --- a/usr/src/usr.bin/make/lst.lib/lstDatum.c +++ b/usr/src/usr.bin/make/lst.lib/lstDatum.c @@ -1,21 +1,31 @@ -/*- - * LstDatum.c -- - * Return the datum associated with a list node. +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstDatum.c,v 1.4 88/11/17 20:52:07 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstDatum.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstDatum.c -- + * Return the datum associated with a list node. + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstDeQueue.c b/usr/src/usr.bin/make/lst.lib/lstDeQueue.c index 010b5bf8e6..c94e2490af 100644 --- a/usr/src/usr.bin/make/lst.lib/lstDeQueue.c +++ b/usr/src/usr.bin/make/lst.lib/lstDeQueue.c @@ -1,21 +1,31 @@ -/*- - * LstDeQueue.c -- - * Remove the node and return its datum from the head of the list +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstDeQueue.c,v 1.5 88/11/17 20:52:11 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstDeQueue.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstDeQueue.c -- + * Remove the node and return its datum from the head of the list + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstDestroy.c b/usr/src/usr.bin/make/lst.lib/lstDestroy.c index ba0b858904..a7f24094ab 100644 --- a/usr/src/usr.bin/make/lst.lib/lstDestroy.c +++ b/usr/src/usr.bin/make/lst.lib/lstDestroy.c @@ -1,21 +1,31 @@ -/*- - * LstDestroy.c -- - * Nuke a list and all its resources +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstDestroy.c,v 1.5 88/11/17 20:52:15 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstDestroy.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstDestroy.c -- + * Nuke a list and all its resources + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstDupl.c b/usr/src/usr.bin/make/lst.lib/lstDupl.c index 4d25fdaa73..d4296248c6 100644 --- a/usr/src/usr.bin/make/lst.lib/lstDupl.c +++ b/usr/src/usr.bin/make/lst.lib/lstDupl.c @@ -1,15 +1,32 @@ +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef lint +static char sccsid[] = "@(#)lstDupl.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + /*- * listDupl.c -- * Duplicate a list. This includes duplicating the individual * elements. - * - * Copyright (c) 1988 by the Regents of the University of California - * */ -#ifndef lint -static char *rcsid = -"$Id: lstDupl.c,v 1.4 88/11/17 20:52:21 adam Exp $ SPRITE (Berkeley)"; -#endif lint #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstEnQueue.c b/usr/src/usr.bin/make/lst.lib/lstEnQueue.c index 29589c91a7..7ee00d753c 100644 --- a/usr/src/usr.bin/make/lst.lib/lstEnQueue.c +++ b/usr/src/usr.bin/make/lst.lib/lstEnQueue.c @@ -1,21 +1,31 @@ -/*- - * LstEnQueue.c-- - * Treat the list as a queue and place a datum at its end +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstEnQueue.c,v 1.4 88/11/17 20:52:26 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstEnQueue.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstEnQueue.c-- + * Treat the list as a queue and place a datum at its end + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstFake.c b/usr/src/usr.bin/make/lst.lib/lstFake.c index 150227c956..924cae3349 100644 --- a/usr/src/usr.bin/make/lst.lib/lstFake.c +++ b/usr/src/usr.bin/make/lst.lib/lstFake.c @@ -1,3 +1,27 @@ +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef lint +static char sccsid[] = "@(#)lstFake.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + /*- * lstFake.c -- * This is a file whose sole purpose is to force ranlib to @@ -6,23 +30,7 @@ * file. As of this writing, the table had 0410 (shared text) entries * in it, so we define five junk variables to up the number beyond * the range of the magic numbers. - * - * Copyright (c) 1988 by the Regents of the University of California - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. The University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. - * - * */ -#ifndef lint -static char *rcsid = -"$Id: lstFake.c,v 1.2 88/11/17 20:52:30 adam Exp $ SPRITE (Berkeley)"; -#endif lint int _junk_one__ = 1; int _junk_two__ = 2; diff --git a/usr/src/usr.bin/make/lst.lib/lstFind.c b/usr/src/usr.bin/make/lst.lib/lstFind.c index 355b4c54ed..6f6dbae2fd 100644 --- a/usr/src/usr.bin/make/lst.lib/lstFind.c +++ b/usr/src/usr.bin/make/lst.lib/lstFind.c @@ -1,21 +1,31 @@ -/*- - * LstFind.c -- - * Find a node on a list. +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstFind.c,v 1.4 88/11/17 20:52:34 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstFind.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstFind.c -- + * Find a node on a list. + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstFindFrom.c b/usr/src/usr.bin/make/lst.lib/lstFindFrom.c index d6e9ed2837..11c22e22d3 100644 --- a/usr/src/usr.bin/make/lst.lib/lstFindFrom.c +++ b/usr/src/usr.bin/make/lst.lib/lstFindFrom.c @@ -1,21 +1,31 @@ -/*- - * LstFindFrom.c -- - * Find a node on a list from a given starting point. Used by Lst_Find. +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstFindFrom.c,v 1.6 88/11/17 20:52:37 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstFindFrom.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstFindFrom.c -- + * Find a node on a list from a given starting point. Used by Lst_Find. + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstFirst.c b/usr/src/usr.bin/make/lst.lib/lstFirst.c index cd953b0167..5c42eca41c 100644 --- a/usr/src/usr.bin/make/lst.lib/lstFirst.c +++ b/usr/src/usr.bin/make/lst.lib/lstFirst.c @@ -1,21 +1,31 @@ -/*- - * LstFirst.c -- - * Return the first node of a list +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstFirst.c,v 1.5 88/11/17 20:52:44 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstFirst.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstFirst.c -- + * Return the first node of a list + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstForEach.c b/usr/src/usr.bin/make/lst.lib/lstForEach.c index 8eede2c548..77fc85bddb 100644 --- a/usr/src/usr.bin/make/lst.lib/lstForEach.c +++ b/usr/src/usr.bin/make/lst.lib/lstForEach.c @@ -1,21 +1,31 @@ -/*- - * LstForeach.c -- - * Perform a given function on all elements of a list. +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstForEach.c,v 1.8 89/11/14 16:59:42 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstForEach.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstForeach.c -- + * Perform a given function on all elements of a list. + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstForEachFrom.c b/usr/src/usr.bin/make/lst.lib/lstForEachFrom.c index 2ca36c87ba..984b054078 100644 --- a/usr/src/usr.bin/make/lst.lib/lstForEachFrom.c +++ b/usr/src/usr.bin/make/lst.lib/lstForEachFrom.c @@ -1,22 +1,32 @@ +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef lint +static char sccsid[] = "@(#)lstForEachFrom.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + /*- * lstForEachFrom.c -- * Perform a given function on all elements of a list starting from * a given point. - * - * Copyright (c) 1988 by University of California Regents - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. */ -#ifndef lint -static char *rcsid = -"$Id: lstForEachFrom.c,v 1.8 89/07/13 13:55:55 adam Exp $ SPRITE (Berkeley)"; -#endif lint #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstIndex.c b/usr/src/usr.bin/make/lst.lib/lstIndex.c index 1f40ec8bd7..80ed46f849 100644 --- a/usr/src/usr.bin/make/lst.lib/lstIndex.c +++ b/usr/src/usr.bin/make/lst.lib/lstIndex.c @@ -1,23 +1,31 @@ -/*- - * lstIndex.c -- - * Function to return the index of a datum in a Lst. - * - * Copyright (c) 1988 by the Regents of the University of California - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. The University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstIndex.c,v 1.2 88/11/17 20:52:54 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstIndex.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * lstIndex.c -- + * Function to return the index of a datum in a Lst. + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstInit.c b/usr/src/usr.bin/make/lst.lib/lstInit.c index 3d3ea386a2..f6e7086414 100644 --- a/usr/src/usr.bin/make/lst.lib/lstInit.c +++ b/usr/src/usr.bin/make/lst.lib/lstInit.c @@ -1,21 +1,31 @@ -/*- - * init.c -- - * Initialize a new linked list. +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstInit.c,v 1.7 88/11/17 20:52:57 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstInit.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * init.c -- + * Initialize a new linked list. + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstInsert.c b/usr/src/usr.bin/make/lst.lib/lstInsert.c index 63ab6eb210..32fb718253 100644 --- a/usr/src/usr.bin/make/lst.lib/lstInsert.c +++ b/usr/src/usr.bin/make/lst.lib/lstInsert.c @@ -1,21 +1,31 @@ -/*- - * LstInsert.c -- - * Insert a new datum before an old one +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstInsert.c,v 1.6 89/06/13 15:01:43 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstInsert.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstInsert.c -- + * Insert a new datum before an old one + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstIsAtEnd.c b/usr/src/usr.bin/make/lst.lib/lstIsAtEnd.c index e8e2d0d656..3c5542ca0f 100644 --- a/usr/src/usr.bin/make/lst.lib/lstIsAtEnd.c +++ b/usr/src/usr.bin/make/lst.lib/lstIsAtEnd.c @@ -1,3 +1,27 @@ +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef lint +static char sccsid[] = "@(#)lstIsAtEnd.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + /*- * LstIsAtEnd.c -- * Tell if the current node is at the end of the list. @@ -6,21 +30,7 @@ * access the list based on it. Because the list is circular, Lst_Next * and Lst_Prev will go around the list forever. Lst_IsAtEnd must be * used to determine when to stop. - * - * Copyright (c) 1988 by University of California Regents - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. */ -#ifndef lint -static char *rcsid = -"$Id: lstIsAtEnd.c,v 1.6 88/11/17 20:53:14 adam Exp $ SPRITE (Berkeley)"; -#endif lint #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstIsEmpty.c b/usr/src/usr.bin/make/lst.lib/lstIsEmpty.c index d71d029d90..bff579499a 100644 --- a/usr/src/usr.bin/make/lst.lib/lstIsEmpty.c +++ b/usr/src/usr.bin/make/lst.lib/lstIsEmpty.c @@ -1,21 +1,31 @@ -/*- - * LstIsEmpty.c -- - * A single function to decide if a list is empty +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstIsEmpty.c,v 1.5 88/11/17 20:53:19 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstIsEmpty.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstIsEmpty.c -- + * A single function to decide if a list is empty + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstLast.c b/usr/src/usr.bin/make/lst.lib/lstLast.c index fa01777bac..97054e673c 100644 --- a/usr/src/usr.bin/make/lst.lib/lstLast.c +++ b/usr/src/usr.bin/make/lst.lib/lstLast.c @@ -1,21 +1,31 @@ -/*- - * LstLast.c -- - * Return the last element of a list +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstLast.c,v 1.5 88/11/17 20:53:24 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstLast.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstLast.c -- + * Return the last element of a list + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstLength.c b/usr/src/usr.bin/make/lst.lib/lstLength.c index 550b99ed94..f434f65392 100644 --- a/usr/src/usr.bin/make/lst.lib/lstLength.c +++ b/usr/src/usr.bin/make/lst.lib/lstLength.c @@ -1,24 +1,31 @@ -/*- - * lstLength.c -- - * Find the length of a lst - * - * Copyright (c) 1988 by the Regents of the University of California - * Copyright (c) 1988 by Adam de Boor - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. The University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstLength.c,v 1.2 88/11/17 20:53:27 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstLength.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * lstLength.c -- + * Find the length of a lst + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstMember.c b/usr/src/usr.bin/make/lst.lib/lstMember.c index a9f8795e62..91d6657339 100644 --- a/usr/src/usr.bin/make/lst.lib/lstMember.c +++ b/usr/src/usr.bin/make/lst.lib/lstMember.c @@ -1,24 +1,31 @@ -/*- - * lstMember.c -- - * See if a given datum is on a given list. - * - * Copyright (c) 1988 by the Regents of the University of California - * Copyright (c) 1988 by Adam de Boor - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. The University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstMember.c,v 1.5 88/11/17 20:53:32 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstMember.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * lstMember.c -- + * See if a given datum is on a given list. + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstMove.c b/usr/src/usr.bin/make/lst.lib/lstMove.c index b4d6e941dc..1a7abd1d7c 100644 --- a/usr/src/usr.bin/make/lst.lib/lstMove.c +++ b/usr/src/usr.bin/make/lst.lib/lstMove.c @@ -1,22 +1,32 @@ +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef lint +static char sccsid[] = "@(#)lstMove.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + /*- * LstMove.c -- * Move an existing node after or before one in the same or different * list. - * - * Copyright (c) 1988 by University of California Regents - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. */ -#ifndef lint -static char *rcsid = -"$Id: lstMove.c,v 1.6 89/06/13 15:01:48 adam Exp $ SPRITE (Berkeley)"; -#endif lint #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstNext.c b/usr/src/usr.bin/make/lst.lib/lstNext.c index 926c1750be..2c3d30b06b 100644 --- a/usr/src/usr.bin/make/lst.lib/lstNext.c +++ b/usr/src/usr.bin/make/lst.lib/lstNext.c @@ -1,3 +1,27 @@ +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef lint +static char sccsid[] = "@(#)lstNext.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + /*- * LstNext.c -- * Return the next node for a list. @@ -6,21 +30,7 @@ * access the list based on it. Because the list is circular, Lst_Next * and Lst_Prev will go around the list forever. Lst_IsAtEnd must be * used to determine when to stop. - * - * Copyright (c) 1988 by University of California Regents - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. */ -#ifndef lint -static char *rcsid = -"$Id: lstNext.c,v 1.8 88/11/17 20:53:40 adam Exp $ SPRITE (Berkeley)"; -#endif lint #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstOpen.c b/usr/src/usr.bin/make/lst.lib/lstOpen.c index 4648849fa4..2e44826edb 100644 --- a/usr/src/usr.bin/make/lst.lib/lstOpen.c +++ b/usr/src/usr.bin/make/lst.lib/lstOpen.c @@ -1,3 +1,27 @@ +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef lint +static char sccsid[] = "@(#)lstOpen.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + /*- * LstOpen.c -- * Open a list for sequential access. The sequential functions access the @@ -5,21 +29,7 @@ * current node in the list and they access the list based on it. * If the list is circular, Lst_Next and Lst_Prev will go around * the list forever. Lst_IsAtEnd must be used to determine when to stop. - * - * Copyright (c) 1988 by University of California Regents - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. */ -#ifndef lint -static char *rcsid = -"$Id: lstOpen.c,v 1.6 88/11/17 20:53:43 adam Exp $ SPRITE (Berkeley)"; -#endif lint #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstPred.c b/usr/src/usr.bin/make/lst.lib/lstPred.c index 1eeb22a53b..38889aaf23 100644 --- a/usr/src/usr.bin/make/lst.lib/lstPred.c +++ b/usr/src/usr.bin/make/lst.lib/lstPred.c @@ -1,21 +1,31 @@ -/*- - * LstPred.c -- - * Return the predecessor of a given list node +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstPred.c,v 1.4 88/11/17 20:53:50 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstPred.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstPred.c -- + * Return the predecessor of a given list node + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstPrev.c b/usr/src/usr.bin/make/lst.lib/lstPrev.c index 3dcc7ddd61..6959cae41c 100644 --- a/usr/src/usr.bin/make/lst.lib/lstPrev.c +++ b/usr/src/usr.bin/make/lst.lib/lstPrev.c @@ -1,3 +1,27 @@ +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef lint +static char sccsid[] = "@(#)lstPrev.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + /*- * LstPrev.c -- * Get the node previous to the current one in the list and make it the @@ -7,21 +31,7 @@ * access the list based on it. Because the list is circular, Lst_Next * and Lst_Prev will go around the list forever. Lst_IsAtEnd must be * used to determine when to stop. - * - * Copyright (c) 1988 by University of California Regents - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. */ -#ifndef lint -static char *rcsid = -"$Id: lstPrev.c,v 1.8 88/11/17 20:53:54 adam Exp $ SPRITE (Berkeley)"; -#endif lint #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstRemove.c b/usr/src/usr.bin/make/lst.lib/lstRemove.c index 8b8877bb54..26a41fbc1d 100644 --- a/usr/src/usr.bin/make/lst.lib/lstRemove.c +++ b/usr/src/usr.bin/make/lst.lib/lstRemove.c @@ -1,21 +1,31 @@ -/*- - * LstRemove.c -- - * Remove an element from a list +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstRemove.c,v 1.7 89/06/13 15:01:51 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstRemove.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstRemove.c -- + * Remove an element from a list + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstReplace.c b/usr/src/usr.bin/make/lst.lib/lstReplace.c index bc6dea5038..3980656da7 100644 --- a/usr/src/usr.bin/make/lst.lib/lstReplace.c +++ b/usr/src/usr.bin/make/lst.lib/lstReplace.c @@ -1,21 +1,31 @@ -/*- - * LstReplace.c -- - * Replace the datum in a node with a new datum +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstReplace.c,v 1.4 88/11/17 20:54:01 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstReplace.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstReplace.c -- + * Replace the datum in a node with a new datum + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstSetCirc.c b/usr/src/usr.bin/make/lst.lib/lstSetCirc.c index 1d968725c8..327b1584e6 100644 --- a/usr/src/usr.bin/make/lst.lib/lstSetCirc.c +++ b/usr/src/usr.bin/make/lst.lib/lstSetCirc.c @@ -1,25 +1,31 @@ -/*- - * listSetCirc.c -- - * Change the library's notion of the circularity of a list. - * - * Copyright (c) 1988 by the Regents of the University of California - * - * Copyright (c) 1988 by Adam de Boor - * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. The University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstSetCirc.c,v 1.3 88/11/17 20:54:04 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstSetCirc.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * listSetCirc.c -- + * Change the library's notion of the circularity of a list. + */ #include "lstInt.h" diff --git a/usr/src/usr.bin/make/lst.lib/lstSucc.c b/usr/src/usr.bin/make/lst.lib/lstSucc.c index c0161a1ebe..a35089f502 100644 --- a/usr/src/usr.bin/make/lst.lib/lstSucc.c +++ b/usr/src/usr.bin/make/lst.lib/lstSucc.c @@ -1,21 +1,31 @@ -/*- - * LstSucc.c -- - * return the successor to a given node +/* + * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. + * All rights reserved. * - * Copyright (c) 1988 by University of California Regents + * This code is derived from software contributed to Berkeley by + * Adam de Boor. * - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appears in all copies. Neither the University of California nor - * Adam de Boor makes any representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -static char *rcsid = -"$Id: lstSucc.c,v 1.4 88/11/17 20:54:07 adam Exp $ SPRITE (Berkeley)"; -#endif lint +static char sccsid[] = "@(#)lstSucc.c 5.2 (Berkeley) %G%"; +#endif /* not lint */ + +/*- + * LstSucc.c -- + * return the successor to a given node + */ #include "lstInt.h" -- 2.20.1