]> andersk Git - splint.git/blobdiff - src/mtTransferClauseList.c
Fixed all /*@i...@*/ tags (except 1).
[splint.git] / src / mtTransferClauseList.c
index 59c29a317db55eb17e6319a44a49d447a269b3f1..afbbe4d3a6251bac857219d2fe2f209c62f68cf0 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-2003 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
 */
 /*
 ** mtTransferClauseList.c
@@ -29,7 +29,7 @@
 ** where T has T_equal (or change this) and T_unparse
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 mtTransferClauseList
@@ -74,7 +74,7 @@ mtTransferClauseList_grow (/*@notnull@*/ mtTransferClauseList s)
   s->elements = newelements;
 }
 
-mtTransferClauseList mtTransferClauseList_single (/*@keep@*/ mtTransferClause el) 
+mtTransferClauseList mtTransferClauseList_single (mtTransferClause el) 
 {
   mtTransferClauseList s = mtTransferClauseList_new ();
   s = mtTransferClauseList_add (s, el);
@@ -94,19 +94,19 @@ mtTransferClauseList mtTransferClauseList_add (mtTransferClauseList s, /*@keep@*
     }
   
   s->nspace--;
-  /*@i32@*/ s->elements[s->nelements] = el;
+  s->elements[s->nelements] = el;
   s->nelements++;
 
-  /*@i32@*/ return s;
+  return s;
 }
 
-mtTransferClauseList mtTransferClauseList_prepend (mtTransferClauseList s, /*@keep@*/ mtTransferClause el)
+mtTransferClauseList mtTransferClauseList_prepend (mtTransferClauseList s, mtTransferClause el)
 {
   int i;
 
   if (!mtTransferClauseList_isDefined (s))
     {
-      /*@i32@*/ return mtTransferClauseList_single (el);
+      return mtTransferClauseList_single (el);
     }
 
   if (s->nspace <= 0)
@@ -121,10 +121,10 @@ mtTransferClauseList mtTransferClauseList_prepend (mtTransferClauseList s, /*@ke
       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.038722 seconds and 4 git commands to generate.