[sr-dev] git:5.3:c0b87c2c: core: hash_func.h - use file name specific include guard

Daniel-Constantin Mierla miconda at gmail.com
Wed May 6 12:27:22 CEST 2020


Module: kamailio
Branch: 5.3
Commit: c0b87c2cc13b1f46b8c5c902a0f5a82e913b85d9
URL: https://github.com/kamailio/kamailio/commit/c0b87c2cc13b1f46b8c5c902a0f5a82e913b85d9

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/c0b87c2cc13b1f46b8c5c902a0f5a82e913b85d9.diff
Patch: https://github.com/kamailio/kamailio/commit/c0b87c2cc13b1f46b8c5c902a0f5a82e913b85d9.patch

---

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 );




More information about the sr-dev mailing list