From: jbj Date: Thu, 21 Oct 1999 18:48:00 +0000 (+0000) Subject: lclint annotations. X-Git-Tag: tznext/4.11.0.1.tizen20130304~8756 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8b83b08c57667fe92ad68a76eba9dff8abd031e;p=tools%2Flibrpm-tizen.git lclint annotations. CVS patchset: 3393 CVS date: 1999/10/21 18:48:00 --- 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)