]> andersk Git - splint.git/blobdiff - src/functionConstraint.c
Fixed all /*@i...@*/ tags (except 1).
[splint.git] / src / functionConstraint.c
index 785e2f37903443a5db14289f09f222bcc7da43d3..4bed9ac4b97a73bad84a979b18b7f931e992e2d4 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
@@ -28,7 +28,7 @@
 # include "splintMacros.nf"
 # include "basic.h"
 
-static /*@only@*/ /*@notnull@*/ /*@special@*/ functionConstraint  /*@i32 need special? @*/
+static /*@only@*/ /*@notnull@*/ /*@special@*/ functionConstraint 
 functionConstraint_alloc (functionConstraintKind kind) /*@defines result->kind@*/
 {
   functionConstraint res = (functionConstraint) dmalloc (sizeof (*res));
@@ -91,7 +91,7 @@ extern constraintList functionConstraint_getBufferConstraints (functionConstrain
     {
       if (node->kind == FCT_CONJUNCT)
        {
-         /*@i223*/ /*make sure this is safe*/
+         /* make sure this is safe*/
          return constraintList_addListFree (functionConstraint_getBufferConstraints (node->constraint.conjunct.op1),
                                             functionConstraint_getBufferConstraints (node->constraint.conjunct.op2));
        }
@@ -237,7 +237,7 @@ void functionConstraint_addBufferConstraints (functionConstraint node, constrain
        {
          if (node->kind == FCT_BUFFER)
            {
-             node->constraint.buffer = constraintList_addList(node->constraint.buffer, temp);
+             node->constraint.buffer = constraintList_addListFree(node->constraint.buffer, temp);
            }
          else
            {
This page took 0.128763 seconds and 4 git commands to generate.