diff options
author | jbj <jbj> | 1999-10-21 15:04:26 +0000 |
---|---|---|
committer | jbj <jbj> | 1999-10-21 15:04:26 +0000 |
commit | 1db0c369fd75fa6ffabd69a8c088b6345774a31a (patch) | |
tree | add4cf7374758bd1769ab5a0f6caa57b6e6a43e7 /popt.h | |
parent | 9215cc2903c98db4c32310e4a9335dcb78cc7ea3 (diff) | |
download | libpopt-1db0c369fd75fa6ffabd69a8c088b6345774a31a.tar.gz |
lclint annotations.
Diffstat (limited to 'popt.h')
-rw-r--r-- | popt.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 */ |