aboutsummaryrefslogtreecommitdiff
path: root/src/util/getopt.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-07-26 21:20:11 +0000
committerChristian Grothoff <christian@grothoff.org>2009-07-26 21:20:11 +0000
commit7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420 (patch)
treedc415457e57f9cfda58eb22ca400a941ebcf602e /src/util/getopt.c
parent4f8ba34b32328bd99b2f0c2ff9a2372712022b32 (diff)
downloadgnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.tar.gz
gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.zip
const-ing of config-handles
Diffstat (limited to 'src/util/getopt.c')
-rw-r--r--src/util/getopt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/getopt.c b/src/util/getopt.c
index e069e76f7..799146e77 100644
--- a/src/util/getopt.c
+++ b/src/util/getopt.c
@@ -997,7 +997,6 @@ GNgetopt_long (int argc,
997 */ 997 */
998int 998int
999GNUNET_GETOPT_run (const char *binaryOptions, 999GNUNET_GETOPT_run (const char *binaryOptions,
1000 struct GNUNET_CONFIGURATION_Handle *cfg,
1001 const struct GNUNET_GETOPT_CommandLineOption *allOptions, 1000 const struct GNUNET_GETOPT_CommandLineOption *allOptions,
1002 unsigned int argc, char *const *argv) 1001 unsigned int argc, char *const *argv)
1003{ 1002{
@@ -1017,7 +1016,6 @@ GNUNET_GETOPT_run (const char *binaryOptions,
1017 clpc.allOptions = allOptions; 1016 clpc.allOptions = allOptions;
1018 clpc.argv = argv; 1017 clpc.argv = argv;
1019 clpc.argc = argc; 1018 clpc.argc = argc;
1020 clpc.cfg = cfg;
1021 count = 0; 1019 count = 0;
1022 while (allOptions[count].name != NULL) 1020 while (allOptions[count].name != NULL)
1023 count++; 1021 count++;