Module: kamailio
Branch: 5.3
Commit: c0b87c2cc13b1f46b8c5c902a0f5a82e913b85d9
URL: https://github.com/kamailio/kamailio/commit/c0b87c2cc13b1f46b8c5c902a0f5a82…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-06T12:01:19+02:00
core: hash_func.h - use file name specific include guard
(cherry picked from commit 9691f6e0cab48114ef4067a22cc8f9c1efb8944c)
---
Modified: src/core/hash_func.h
---
Diff: https://github.com/kamailio/kamailio/commit/c0b87c2cc13b1f46b8c5c902a0f5a82…
Patch: https://github.com/kamailio/kamailio/commit/c0b87c2cc13b1f46b8c5c902a0f5a82…
---
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 );