diff options
author | jbj <jbj> | 2001-10-16 17:42:19 +0000 |
---|---|---|
committer | jbj <jbj> | 2001-10-16 17:42:19 +0000 |
commit | cf0196a9be89d3c51adf47852354833a9b926387 (patch) | |
tree | 3af672517e065d99d6833466b1dab03ab7de412b /popt.h | |
parent | 8a4b514318c016cb0c0bf2f66297faad2a943c0f (diff) | |
download | libpopt-cf0196a9be89d3c51adf47852354833a9b926387.tar.gz |
Factor -type problems into explicit code annotations.
Diffstat (limited to 'popt.h')
-rw-r--r-- | popt.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -9,10 +9,6 @@ #ifndef H_POPT #define H_POPT -#ifdef __cplusplus -extern "C" { -#endif - #include <stdio.h> /* for FILE * */ #define POPT_OPTION_DEPTH 10 @@ -184,6 +180,11 @@ enum poptCallbackReason { POPT_CALLBACK_REASON_PRE, POPT_CALLBACK_REASON_POST, POPT_CALLBACK_REASON_OPTION }; +#ifdef __cplusplus +extern "C" { +#endif +/*@-type@*/ + /** \ingroup popt * Table callback prototype. * @param con context @@ -437,6 +438,7 @@ int poptStrippedArgv(poptContext con, int argc, char ** argv) /*@modifies *argv @*/; /*@=fcnuse@*/ +/*@=type@*/ #ifdef __cplusplus } #endif |