Committer: Diego Biurrun <diego@xxxxxxxxxx> Date: 20/04/2010 at 14:20:18 Revision: 4358 Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: cosmetics: Move daemon_db variable declaration to avoid an #ifdef. Modified: M hipd/hipd.c === modified file 'hipd/hipd.c' --- hipd/hipd.c 2010-04-16 18:50:27 +0000 +++ hipd/hipd.c 2010-04-20 11:19:56 +0000 @@ -154,9 +154,6 @@ int hip_use_opptcp = 0; // false int hip_use_hi3 = 0; // false -#ifdef CONFIG_HIP_AGENT -sqlite3 *daemon_db; -#endif /* the opp tcp */ @@ -201,6 +198,9 @@ } #ifdef CONFIG_HIP_AGENT + +sqlite3 *daemon_db; + /** * add_cert_and_hits_to_db - Adds information recieved from the agent to * the daemon database