Skip to content

Commit

Permalink
core: hash_func.h - use file name specific include guard
Browse files Browse the repository at this point in the history
(cherry picked from commit 9691f6e)
  • Loading branch information
miconda committed May 6, 2020
1 parent ac3fe06 commit c0b87c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/hash_func.h
Expand Up @@ -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
*/
/*!
Expand All @@ -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 );
Expand Down

0 comments on commit c0b87c2

Please sign in to comment.