aboutsummaryrefslogtreecommitdiff
path: root/src/util/gnunet-config-diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/gnunet-config-diff.c')
-rw-r--r--src/util/gnunet-config-diff.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/util/gnunet-config-diff.c b/src/util/gnunet-config-diff.c
deleted file mode 100644
index e1e3ffd5d..000000000
--- a/src/util/gnunet-config-diff.c
+++ /dev/null
@@ -1,24 +0,0 @@
1
2#include "platform.h"
3#include <gnunet_util_lib.h>
4
5int
6main (int argc, char **argv)
7{
8 struct GNUNET_CONFIGURATION_Handle *i1;
9 struct GNUNET_CONFIGURATION_Handle *i2;
10
11 if (argc != 3)
12 {
13 fprintf (stderr, "Invoke using `%s DEFAULTS-IN DIFFS'\n", argv[0]);
14 return 1;
15 }
16 i1 = GNUNET_CONFIGURATION_create ();
17 i2 = GNUNET_CONFIGURATION_create ();
18 if ((GNUNET_OK != GNUNET_CONFIGURATION_load (i1, argv[1])) ||
19 (GNUNET_OK != GNUNET_CONFIGURATION_load (i2, argv[2])))
20 return 1;
21 if (GNUNET_OK != GNUNET_CONFIGURATION_write_diffs (i1, i2, argv[2]))
22 return 2;
23 return 0;
24}