summaryrefslogtreecommitdiff
path: root/popt.h
diff options
context:
space:
mode:
authorjbj <jbj>1999-10-21 15:04:26 +0000
committerjbj <jbj>1999-10-21 15:04:26 +0000
commit1db0c369fd75fa6ffabd69a8c088b6345774a31a (patch)
treeadd4cf7374758bd1769ab5a0f6caa57b6e6a43e7 /popt.h
parent9215cc2903c98db4c32310e4a9335dcb78cc7ea3 (diff)
downloadlibpopt-1db0c369fd75fa6ffabd69a8c088b6345774a31a.tar.gz
lclint annotations.
Diffstat (limited to 'popt.h')
-rw-r--r--popt.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/popt.h b/popt.h
index bf463b5..2d9ea8c 100644
--- a/popt.h
+++ b/popt.h
@@ -52,17 +52,17 @@ extern "C" {
#define POPT_CONTEXT_POSIXMEHARDER (1 << 2) /* options can't follow args */
struct poptOption {
- const char * longName; /* may be NULL */
+ /*@observer@*/ /*@null@*/ const char * longName; /* may be NULL */
char shortName; /* may be '\0' */
int argInfo;
- void * arg; /* depends on argInfo */
+ /*@dependent@*/ /*@null@*/ void * arg; /* depends on argInfo */
int val; /* 0 means don't return, just update flag */
- const char * descrip; /* description for autohelp -- may be NULL */
- const char * argDescrip; /* argument description for autohelp */
+ /*@null@*/ const char * descrip; /* description for autohelp -- may be NULL */
+ /*@null@*/ const char * argDescrip; /* argument description for autohelp */
};
struct poptAlias {
- const char * longName; /* may be NULL */
+ /*@null@*/ const char * longName; /* may be NULL */
char shortName; /* may be '\0' */
int argc;
const char ** argv; /* must be free()able */