[sr-dev] git:master:9691f6e0: core: hash_func.h - use file name specific include guard

Daniel-Constantin Mierla miconda at gmail.com
Mon May 4 19:38:55 CEST 2020


Module: kamailio
Branch: master
Commit: 9691f6e0cab48114ef4067a22cc8f9c1efb8944c
URL: https://github.com/kamailio/kamailio/commit/9691f6e0cab48114ef4067a22cc8f9c1efb8944c

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