aboutsummaryrefslogtreecommitdiff
path: root/src/util/program.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-11-01 20:47:52 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-11-01 20:47:52 +0000
commit3cb95895f743dbf336b3d5f5d214c94f8f327543 (patch)
treef054c819d483c1056e18c1099afd4c7fcd2582a0 /src/util/program.c
parent7a928fdb6e0035f0ef98896d77c74d8d119d5f16 (diff)
fixing bio testcase and a bug in bio.c, also indenting
git-svn-id: https://gnunet.org/svn/gnunet@9379 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/util/program.c')
-rw-r--r--src/util/program.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/program.c b/src/util/program.c
index aa272ea96d..695a6f9bc7 100644
--- a/src/util/program.c
+++ b/src/util/program.c
@@ -89,10 +89,10 @@ program_main (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
* @param a2 second command line option
*/
static int
-cmd_sorter (const void *a1, const void *a2)
+cmd_sorter (__const void *a1, __const void *a2)
{
- const struct GNUNET_GETOPT_CommandLineOption *c1 = a1;
- const struct GNUNET_GETOPT_CommandLineOption *c2 = a2;
+ __const struct GNUNET_GETOPT_CommandLineOption *c1 = a1;
+ __const struct GNUNET_GETOPT_CommandLineOption *c2 = a2;
if (toupper (c1->shortName) > toupper (c2->shortName))
return 1;
if (toupper (c1->shortName) < toupper (c2->shortName))
@@ -174,7 +174,7 @@ GNUNET_PROGRAM_run (int argc,
qsort (allopts, cnt, sizeof (struct GNUNET_GETOPT_CommandLineOption),
&cmd_sorter);
loglev = GNUNET_strdup ("WARNING");
- if ((-1 == (ret = GNUNET_GETOPT_run (binaryName,
+ if ((-1 == (ret = GNUNET_GETOPT_run (binaryName,
allopts,
(unsigned int) argc, argv))) ||
((GNUNET_OK !=