summaryrefslogtreecommitdiff
path: root/cleopatre/devkit/plcd/inc
diff options
context:
space:
mode:
authorThierry Carré2013-03-19 11:24:57 +0100
committerThierry Carré2013-04-26 17:03:09 +0200
commit992be6541ecc5d375a2731242ffbe77c7e40f8fc (patch)
tree849f85f1159510b61cb3bd4a000180df582ab7c7 /cleopatre/devkit/plcd/inc
parentf96fcead72d958665fed2ccc200a6955afe979b2 (diff)
cleo/devkit/plcd: avoid exit function in main()
All 'plcd_main_task_fct' must return, like that we have a proper end of program (with close, and uninit).
Diffstat (limited to 'cleopatre/devkit/plcd/inc')
-rw-r--r--cleopatre/devkit/plcd/inc/plcd_ctx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cleopatre/devkit/plcd/inc/plcd_ctx.h b/cleopatre/devkit/plcd/inc/plcd_ctx.h
index eddf4669cd..af23c883c9 100644
--- a/cleopatre/devkit/plcd/inc/plcd_ctx.h
+++ b/cleopatre/devkit/plcd/inc/plcd_ctx.h
@@ -92,6 +92,8 @@ typedef struct
/** main context of plc daemon */
typedef struct
{
+ /** Pointer on the program name (argv[0]). */
+ const char *my_name;
/** full path of HPAV info file */
const char *hpav_info_path;
/** full path of HPAV config file */