summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <jbj>2006-12-10 03:48:31 +0000
committerjbj <jbj>2006-12-10 03:48:31 +0000
commitd9b761512ddb2efb5ecf8bd8c2e5df3828a858ae (patch)
tree68be54498f7c2ebfaf35604a6b83d3070ef26547
parent0f19e43780354fed7fec82e4960e5fcede032bb1 (diff)
downloadlibpopt-d9b761512ddb2efb5ecf8bd8c2e5df3828a858ae.tar.gz
splint fiddles.
-rw-r--r--popt.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/popt.h b/popt.h
index 47de002..a936a30 100644
--- a/popt.h
+++ b/popt.h
@@ -540,7 +540,8 @@ int poptStrippedArgv(poptContext con, int argc, char ** argv)
/*@-incondefs@*/
/*@unused@*/
int poptSaveLong(/*@null@*/ long * arg, int argInfo, long aLong)
- /*@modifies *arg @*/
+ /*@globals internalState @*/
+ /*@modifies *arg, internalState @*/
/*@requires maxSet(arg) >= 0 /\ maxRead(arg) == 0 @*/;
/*@=incondefs@*/
@@ -555,7 +556,8 @@ int poptSaveLong(/*@null@*/ long * arg, int argInfo, long aLong)
/*@-incondefs@*/
/*@unused@*/
int poptSaveInt(/*@null@*/ int * arg, int argInfo, long aLong)
- /*@modifies *arg @*/
+ /*@globals internalState @*/
+ /*@modifies *arg, internalState @*/
/*@requires maxSet(arg) >= 0 /\ maxRead(arg) == 0 @*/;
/*@=incondefs@*/