diff --git a/src/client/libdistren.h b/src/client/libdistren.h --- a/src/client/libdistren.h +++ b/src/client/libdistren.h @@ -17,6 +17,9 @@ along with DistRen. If not, see . */ +#ifndef LIBDISTREN_H_ +#define LIBDISTREN_H_ 1 + /* Private definitions for libdistren. */ @@ -68,3 +71,6 @@ int _distren_getoptions(distren_t handle Unsets-up the distren handle with options loadable from a config file. */ int _distren_loseoptions(distren_t handle); + +#endif + diff --git a/src/client/libdistren_config.c b/src/client/libdistren_config.c --- a/src/client/libdistren_config.c +++ b/src/client/libdistren_config.c @@ -33,10 +33,7 @@ int _distren_getoptions(distren_t handle cfg_opt_t cfg_opts[] = { - CFG_STR_LIST("render_types", NULL, 0), - CFG_STR("username", NULL, 0), - CFG_STR("name", NULL, 0), - CFG_STR("email", NULL, 0), + CFG_STR("server", NULL, 0), CFG_END() };