From c8b83b08c57667fe92ad68a76eba9dff8abd031e Mon Sep 17 00:00:00 2001 From: jbj Date: Thu, 21 Oct 1999 18:48:00 +0000 Subject: [PATCH] lclint annotations. CVS patchset: 3393 CVS date: 1999/10/21 18:48:00 --- popt/.lclintrc | 2 +- popt/poptint.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/popt/.lclintrc b/popt/.lclintrc index 9aea531..3e869d5 100644 --- a/popt/.lclintrc +++ b/popt/.lclintrc @@ -8,7 +8,7 @@ +unixlib # don't-bother-me-yet parameters --branchstate +#-branchstate #-immediatetrans -mustfree #-observertrans diff --git a/popt/poptint.h b/popt/poptint.h index 4cab19f..64e8cec 100644 --- a/popt/poptint.h +++ b/popt/poptint.h @@ -29,19 +29,19 @@ struct poptContext_s { int nextLeftover; /*@keep@*/ const struct poptOption * options; int restLeftover; - /*@owned@*/ const char * appName; - /*@owned@*/ struct poptAlias * aliases; + /*@only@*/ const char * appName; + /*@only@*/ struct poptAlias * aliases; int numAliases; int flags; struct execEntry * execs; int numExecs; - /*@owned@*/ const char ** finalArgv; + /*@only@*/ const char ** finalArgv; int finalArgvCount; int finalArgvAlloced; /*@dependent@*/ struct execEntry * doExec; - /*@owned@*/ const char * execPath; + /*@only@*/ const char * execPath; int execAbsolute; - /*@owned@*/ const char * otherHelp; + /*@only@*/ const char * otherHelp; }; #define xfree(_a) free((void *)_a) -- 2.7.4