Module: kamailio Branch: master Commit: 9691f6e0cab48114ef4067a22cc8f9c1efb8944c URL: https://github.com/kamailio/kamailio/commit/9691f6e0cab48114ef4067a22cc8f9c1...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-05-04T18:35:00+02:00
core: hash_func.h - use file name specific include guard
---
Modified: src/core/hash_func.h
---
Diff: https://github.com/kamailio/kamailio/commit/9691f6e0cab48114ef4067a22cc8f9c1... Patch: https://github.com/kamailio/kamailio/commit/9691f6e0cab48114ef4067a22cc8f9c1...
---
diff --git a/src/core/hash_func.h b/src/core/hash_func.h index 203e10b1c8..aeb9794bf2 100644 --- a/src/core/hash_func.h +++ b/src/core/hash_func.h @@ -13,8 +13,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ /*! @@ -26,14 +26,14 @@
-#ifndef _HASH_H -#define _HASH_H +#ifndef _HASH_FUNC_H_ +#define _HASH_FUNC_H_
#include "str.h" #include "hashes.h"
/* always use a power of 2 for hash table size */ -#define T_TABLE_POWER 16 +#define T_TABLE_POWER 16 #define TABLE_ENTRIES (1 << (T_TABLE_POWER))
unsigned int new_hash( str call_id, str cseq_nr );