summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <jbj>2007-01-21 17:16:22 +0000
committerjbj <jbj>2007-01-21 17:16:22 +0000
commitf82ba6923befaa6691f5bf4e13a5429929b9b8c9 (patch)
tree1945cc96466a7f756e363e487793261d0ce37e09
parent2d882a98d3386d87fb1ac562dc4682a0dc23db44 (diff)
downloadlibpopt-f82ba6923befaa6691f5bf4e13a5429929b9b8c9.tar.gz
Yet more splint fiddles.
-rw-r--r--popthelp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/popthelp.c b/popthelp.c
index 3a65d8b..2a18c32 100644
--- a/popthelp.c
+++ b/popthelp.c
@@ -29,18 +29,19 @@
* @param arg (unused)
* @param data (unused)
*/
+/*@exits@*/
static void displayArgs(poptContext con,
/*@unused@*/ enum poptCallbackReason foo,
struct poptOption * key,
/*@unused@*/ const char * arg, /*@unused@*/ void * data)
/*@globals fileSystem@*/
- /*@modifies fileSystem@*/
+ /*@modifies con, fileSystem@*/
{
if (key->shortName == '?')
poptPrintHelp(con, stdout, 0);
else
poptPrintUsage(con, stdout, 0);
- con = poptFreeContext(con); /* XXX keep valgrind happy */
+/*@i@*/ con = poptFreeContext(con); /* XXX keep valgrind happy */
exit(0);
}