Author: biurrun Date: Thu Nov 26 19:05:54 2009 New Revision: 1840 Log: Move FILE_AUTHORIZED_HOSTS definition to the place it is used. Modified: trunk/pairing/libconfig_wrapper.h trunk/pairing/packet_handler.c Modified: trunk/pairing/libconfig_wrapper.h ============================================================================== --- trunk/pairing/libconfig_wrapper.h Thu Nov 26 19:05:22 2009 (r1839) +++ trunk/pairing/libconfig_wrapper.h Thu Nov 26 19:05:54 2009 (r1840) @@ -19,8 +19,6 @@ #include <libconfig.h> #include "libpisa/hitlist.h" -#define FILE_AUTHORIZED_HOSTS "authorized_hosts.cfg" - typedef enum {CONFIG_TYPE_HIT,CONFIG_TYPE_PWD} configtype; // Function prototypes Modified: trunk/pairing/packet_handler.c ============================================================================== --- trunk/pairing/packet_handler.c Thu Nov 26 19:05:22 2009 (r1839) +++ trunk/pairing/packet_handler.c Thu Nov 26 19:05:54 2009 (r1840) @@ -24,6 +24,7 @@ /** Default password file is set statically. **/ #define FILE_PWD "sha.txt" +#define FILE_AUTHORIZED_HOSTS "authorized_hosts.cfg" #define ERROR_INVALID_PWD 0 #define ERROR_NOT_CONNECTED 1