Author: biurrun Date: Thu Nov 26 15:14:12 2009 New Revision: 1810 Log: Move definition of FILE_PWD to the only place where it is used. Modified: trunk/pairing/packet_handler_accept.c trunk/pairing/packet_handler_accept.h Modified: trunk/pairing/packet_handler_accept.c ============================================================================== --- trunk/pairing/packet_handler_accept.c Thu Nov 26 15:13:32 2009 (r1809) +++ trunk/pairing/packet_handler_accept.c Thu Nov 26 15:14:12 2009 (r1810) @@ -16,6 +16,8 @@ #include "libpisa/hitlist.h" #include "packet_handler_accept.h" +/** Default password file is set statically. **/ +#define FILE_PWD "sha.txt" /** Creates a header_general structure which holds a header_ack_1 structure and fills both. * Modified: trunk/pairing/packet_handler_accept.h ============================================================================== --- trunk/pairing/packet_handler_accept.h Thu Nov 26 15:13:32 2009 (r1809) +++ trunk/pairing/packet_handler_accept.h Thu Nov 26 15:14:12 2009 (r1810) @@ -19,9 +19,6 @@ #include "hash.h" #include "libconfig_wrapper.h" -/** Default password file is set statically. **/ -#define FILE_PWD "sha.txt" - // Function prototypes int handle_packet_password(struct sockaddr_in6 *socket_addr, header_password *hdr_pwd); int handle_packet_pwd_request(struct sockaddr_in6 *socket_addr, header_pwd_request *hdr_pwd_request);