X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/8250fa4a814c24d90cb21c143b24b8769128a0fb..35eea586ba9af7af69f0646f5f6a5958b8215dd8:/src/genericTable.c diff --git a/src/genericTable.c b/src/genericTable.c index f8f6eca..2325d50 100644 --- a/src/genericTable.c +++ b/src/genericTable.c @@ -1,6 +1,6 @@ /* -** LCLint - annotation-assisted static program checker -** Copyright (C) 1994-2001 University of Virginia, +** Splint - annotation-assisted static program checker +** Copyright (C) 1994-2002 University of Virginia, ** Massachusetts Institute of Technology ** ** This program is free software; you can redistribute it and/or modify it @@ -17,9 +17,9 @@ ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, ** MA 02111-1307, USA. ** -** For information on lclint: lclint-request@cs.virginia.edu -** To report a bug: lclint-bug@cs.virginia.edu -** For more information: http://lclint.cs.virginia.edu +** For information on splint: info@splint.org +** To report a bug: splint-bug@splint.org +** For more information: http://www.splint.org */ /* ** genericTable.c @@ -28,14 +28,14 @@ ** We sacrific type checking here for code reuse. */ -# include "lclintMacros.nf" +# include "splintMacros.nf" # include "basic.h" # include "randomNumbers.h" /*@constant null ghbucket ghbucket_undefined; @*/ # define ghbucket_undefined 0 -static /*@truenull@*/ bool ghbucket_isNull (/*@null@*/ ghbucket h) +static /*@nullwhentrue@*/ bool ghbucket_isNull (/*@null@*/ ghbucket h) { return (h == ghbucket_undefined); } @@ -391,7 +391,7 @@ genericTable_insert (genericTable h, cstring key, void *value) genericTable_addEntry (h, bucket->entries[j]); } - sfree (bucket->entries); /* evans 2001-03-24: LCLint caught this */ + sfree (bucket->entries); /* evans 2001-03-24: Splint caught this */ sfree (bucket); } }