]> andersk Git - splint.git/blobdiff - src/genericTable.c
Fixed internal error that occured if user tried to load a lcd file they created for...
[splint.git] / src / genericTable.c
index f8f6eca1831dc7a0faeb1202105ef66659c946f0..2325d50a6de047bac68288d6da1d4e769111536f 100644 (file)
@@ -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
 ** 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);
            }
        }
This page took 0.169644 seconds and 4 git commands to generate.