Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2004 08:38:16 +0000 (UTC)
From:      Hartmut Brandt <harti@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/make Makefile lst.h src/usr.bin/make/lst.lib lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c lstFind.c lstFindFrom.c lstFirst.c ...
Message-ID:  <200411290838.iAT8cGdw079546@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
harti       2004-11-29 08:38:16 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         Makefile lst.h 
    usr.bin/make/lst.lib lstAppend.c lstAtEnd.c lstAtFront.c 
                         lstClose.c lstConcat.c lstDatum.c 
                         lstDeQueue.c lstDestroy.c lstDupl.c 
                         lstEnQueue.c lstFind.c lstFindFrom.c 
                         lstFirst.c lstForEach.c lstForEachFrom.c 
                         lstInit.c lstInsert.c lstIsAtEnd.c 
                         lstLast.c lstMember.c lstNext.c lstOpen.c 
                         lstRemove.c lstReplace.c lstSucc.c 
  Removed files:
    usr.bin/make/lst.lib lstInt.h lstIsEmpty.c 
  Log:
  Merge the contents of lstInt.h into the public lst.h. This let's us get
  rid of a lot of uneccesary casts and temporary variables that have just
  obfuscated the code. This also let's us implement a couple of the one-
  liner list functions as macros (the first one is Lst_IsEmpty) and
  simplify life once we start to throw consts on the code.
  
  Revision  Changes    Path
  1.37      +1 -1      src/usr.bin/make/Makefile
  1.16      +56 -4     src/usr.bin/make/lst.h
  1.12      +12 -16    src/usr.bin/make/lst.lib/lstAppend.c
  1.11      +2 -1      src/usr.bin/make/lst.lib/lstAtEnd.c
  1.11      +2 -1      src/usr.bin/make/lst.lib/lstAtFront.c
  1.10      +5 -6      src/usr.bin/make/lst.lib/lstClose.c
  1.13      +15 -17    src/usr.bin/make/lst.lib/lstConcat.c
  1.11      +4 -3      src/usr.bin/make/lst.lib/lstDatum.c
  1.12      +7 -6      src/usr.bin/make/lst.lib/lstDeQueue.c
  1.14      +8 -8      src/usr.bin/make/lst.lib/lstDestroy.c
  1.14      +5 -5      src/usr.bin/make/lst.lib/lstDupl.c
  1.11      +3 -2      src/usr.bin/make/lst.lib/lstEnQueue.c
  1.13      +2 -1      src/usr.bin/make/lst.lib/lstFind.c
  1.14      +7 -6      src/usr.bin/make/lst.lib/lstFindFrom.c
  1.10      +4 -3      src/usr.bin/make/lst.lib/lstFirst.c
  1.12      +2 -1      src/usr.bin/make/lst.lib/lstForEach.c
  1.14      +15 -16    src/usr.bin/make/lst.lib/lstForEachFrom.c
  1.11      +6 -5      src/usr.bin/make/lst.lib/lstInit.c
  1.12      +11 -12    src/usr.bin/make/lst.lib/lstInsert.c
  1.11      +0 -108    src/usr.bin/make/lst.lib/lstInt.h (dead)
  1.9       +5 -5      src/usr.bin/make/lst.lib/lstIsAtEnd.c
  1.10      +0 -71     src/usr.bin/make/lst.lib/lstIsEmpty.c (dead)
  1.9       +6 -6      src/usr.bin/make/lst.lib/lstLast.c
  1.12      +7 -7      src/usr.bin/make/lst.lib/lstMember.c
  1.11      +11 -12    src/usr.bin/make/lst.lib/lstNext.c
  1.10      +6 -5      src/usr.bin/make/lst.lib/lstOpen.c
  1.12      +19 -22    src/usr.bin/make/lst.lib/lstRemove.c
  1.11      +3 -3      src/usr.bin/make/lst.lib/lstReplace.c
  1.10      +3 -2      src/usr.bin/make/lst.lib/lstSucc.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411290838.iAT8cGdw079546>