]> andersk Git - splint.git/blobdiff - test/globalbufferannotation/globalvariable.c
Changed to used /\ and requires instead of bufferConstraint
[splint.git] / test / globalbufferannotation / globalvariable.c
index 817dcd2d46cbdff20ca0e2193c2debb87a2bd916..75efab9f947dcdb83971db036050bf7327c54ae3 100644 (file)
@@ -3,10 +3,10 @@
 static char f [12];
 extern void /*@alt char * @*/
   mstrcpy (/*@unique@*/ /*@out@*/ /*returned*/ char *s1, char *s2) 
-     /*@modifies *s1@*/ /*@bufferConstraint MaxSet(s1) >= MaxRead(s2); @*/;
+     /*@modifies *s1@*/ /*@requires MaxSet(s1) >= MaxRead(s2); @*/;
 
 
-void copyf (char * c) /*@bufferConstraint MaxSet(c) >= MaxRead(f); @*/
+void copyf (char * c) /*@requires MaxSet(c) >= MaxRead(f); @*/
 {
   mstrcpy (c, f);
 }
This page took 0.108125 seconds and 4 git commands to generate.