aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-03-15 17:05:25 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-03-15 17:05:25 +0000
commitc3e52ea6ca3178b7ecab4b389a9ba9269662b48f (patch)
tree92010dbf827948300ec59549600f86eac09ca9b0 /options.c
parent10ad1196e3f7f240a231e91d7cb2a612da3d6b4e (diff)
downloadfetchmail-c3e52ea6ca3178b7ecab4b389a9ba9269662b48f.tar.gz
fetchmail-c3e52ea6ca3178b7ecab4b389a9ba9269662b48f.tar.bz2
fetchmail-c3e52ea6ca3178b7ecab4b389a9ba9269662b48f.zip
Further cleanups to compile with C++ compiler.
svn path=/branches/BRANCH_6-3/; revision=4744
Diffstat (limited to 'options.c')
-rw-r--r--options.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/options.c b/options.c
index 8f890ed0..9bfc7586 100644
--- a/options.c
+++ b/options.c
@@ -215,12 +215,11 @@ static int xatoi(char *s, int *errflagptr)
#endif
}
-int parsecmdline (argc, argv, rctl, ctl)
-/* parse and validate the command line options */
-int argc; /* argument count */
-char **argv; /* argument strings */
-struct runctl *rctl; /* global run controls to modify */
-struct query *ctl; /* option record to be initialized */
+/** parse and validate the command line options */
+int parsecmdline (int argc /** argument count */,
+ char **argv /** argument strings */,
+ struct runctl *rctl /** global run controls to modify */,
+ struct query *ctl /** option record to initialize */)
{
/*
* return value: if positive, argv index of last parsed option + 1