aboutsummaryrefslogtreecommitdiff
path: root/src/template/gnunet-template.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-15 21:54:06 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-15 21:54:06 +0000
commit5746309cb4be2073d550ad7a6885e918631dbc38 (patch)
tree89455bc4aadf977816b38df13f990372cd81d71a /src/template/gnunet-template.c
parent6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (diff)
downloadgnunet-5746309cb4be2073d550ad7a6885e918631dbc38.tar.gz
gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.zip
indentation
Diffstat (limited to 'src/template/gnunet-template.c')
-rw-r--r--src/template/gnunet-template.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/template/gnunet-template.c b/src/template/gnunet-template.c
index 657b3d4ce..7b1d9dfff 100644
--- a/src/template/gnunet-template.c
+++ b/src/template/gnunet-template.c
@@ -42,9 +42,8 @@ static int ret;
42 * @param cfg configuration 42 * @param cfg configuration
43 */ 43 */
44static void 44static void
45run (void *cls, 45run (void *cls, char *const *args, const char *cfgfile,
46 char *const *args, 46 const struct GNUNET_CONFIGURATION_Handle *cfg)
47 const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg)
48{ 47{
49 /* main code here */ 48 /* main code here */
50} 49}
@@ -65,11 +64,9 @@ main (int argc, char *const *argv)
65 GNUNET_GETOPT_OPTION_END 64 GNUNET_GETOPT_OPTION_END
66 }; 65 };
67 return (GNUNET_OK == 66 return (GNUNET_OK ==
68 GNUNET_PROGRAM_run (argc, 67 GNUNET_PROGRAM_run (argc, argv, "gnunet-template",
69 argv, 68 gettext_noop ("help text"), options, &run,
70 "gnunet-template", 69 NULL)) ? ret : 1;
71 gettext_noop ("help text"),
72 options, &run, NULL)) ? ret : 1;
73} 70}
74 71
75/* end of gnunet-template.c */ 72/* end of gnunet-template.c */