# HG changeset patch # User Binki # Date 2009-05-28 22:01:31 # Node ID d95bffb2291ba3473474a99670393113968da8ec # Parent a346c66a701060890b3aacd750c33091457234a5 added #ifdef around header 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() };