]> andersk Git - splint.git/blobdiff - src/mtLoseReferenceList.c
noexpand always false.
[splint.git] / src / mtLoseReferenceList.c
index 1b194c6d4e5375207b3966bbfca30cb0160bc8c1..ff756e4b73a8a5283011a2ba453c8ec8419c6bac 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2002 University of Virginia,
+** Copyright (C) 1994-2003 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
@@ -17,8 +17,8 @@
 ** 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 information on splint: info@splint.org
+** To report a bug: splint-bug@splint.org
 ** For more information: http://www.splint.org
 */
 /*
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 mtLoseReferenceList
@@ -74,7 +74,7 @@ mtLoseReferenceList_grow (/*@notnull@*/ mtLoseReferenceList s)
   s->elements = newelements;
 }
 
-mtLoseReferenceList mtLoseReferenceList_single (/*@keep@*/ mtLoseReference el) 
+mtLoseReferenceList mtLoseReferenceList_single (mtLoseReference el) 
 {
   mtLoseReferenceList s = mtLoseReferenceList_new ();
   s = mtLoseReferenceList_add (s, el);
@@ -94,19 +94,19 @@ mtLoseReferenceList mtLoseReferenceList_add (mtLoseReferenceList s, /*@keep@*/ m
     }
   
   s->nspace--;
-  /*@i32@*/ s->elements[s->nelements] = el;
+  s->elements[s->nelements] = el;
   s->nelements++;
 
-  /*@i32@*/ return s;
+  return s;
 }
 
-mtLoseReferenceList mtLoseReferenceList_prepend (mtLoseReferenceList s, /*@keep@*/ mtLoseReference el)
+mtLoseReferenceList mtLoseReferenceList_prepend (mtLoseReferenceList s, mtLoseReference el)
 {
   int i;
 
   if (!mtLoseReferenceList_isDefined (s))
     {
-      /*@i32@*/ return mtLoseReferenceList_single (el);
+      return mtLoseReferenceList_single (el);
     }
 
   if (s->nspace <= 0)
@@ -121,10 +121,10 @@ mtLoseReferenceList mtLoseReferenceList_prepend (mtLoseReferenceList s, /*@keep@
       s->elements[i] = s->elements [i - 1];
     }
 
-  /*@i32@*/ s->elements[0] = el;
+  s->elements[0] = el;
   s->nelements++;
 
-  /*@i32@*/ return s;
+  return s;
 }
 
 cstring
This page took 0.02831 seconds and 4 git commands to generate.