Committer: Diego Biurrun <diego@xxxxxxxxxx> Date: 21/04/2010 at 18:31:00 Revision: 4387 Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Move multiple inclusion guards before #includes; fix #endif comment. Modified: M lib/core/hashtable.h === modified file 'lib/core/hashtable.h' --- lib/core/hashtable.h 2010-03-19 08:47:02 +0000 +++ lib/core/hashtable.h 2010-04-21 15:30:36 +0000 @@ -3,6 +3,10 @@ * * Distributed under <a href="http://www.gnu.org/licenses/gpl2.txt";>GNU/GPL</a> */ + +#ifndef HIP_LIB_CORE_HASHTABLE_H +#define HIP_LIB_CORE_HASHTABLE_H + #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -13,9 +17,6 @@ #include "debug.h" #include "list.h" -#ifndef HIP_LIB_CORE_HASHTABLE_H -#define HIP_LIB_CORE_HASHTABLE_H - /* OpenSSL 1.0.0 introduced backwards incompatible changes to the lhash. * These backwards compatibility hacks can be removed when all platforms * support OpenSSL 1.0.0 by default. */ @@ -85,4 +86,4 @@ void hip_ht_doall(void *head, LHASH_DOALL_FN_TYPE func); void hip_ht_doall_arg(void *head, LHASH_DOALL_ARG_FN_TYPE func, void *arg); -#endif /* LHASHTABLE_H */ +#endif /* HIP_LIB_CORE_HASHTABLE_H */