summaryrefslogtreecommitdiff
path: root/legacy/eet/src/lib/eet_utils.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-07-31 01:54:48 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-07-31 01:54:48 +0000
commitf7019f134dd8e8ae830eb1d39fb8570c74b730e9 (patch)
tree6fc137cbc4e6505629d2210cf11ace757d162490 /legacy/eet/src/lib/eet_utils.c
parent55d01901859bb2fcca1befeb1011e204d271d59f (diff)
formatting. <- uncrustify
SVN revision: 50698
Diffstat (limited to 'legacy/eet/src/lib/eet_utils.c')
-rw-r--r--legacy/eet/src/lib/eet_utils.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/legacy/eet/src/lib/eet_utils.c b/legacy/eet/src/lib/eet_utils.c
index 4d7b9dbd64..624bfaed5b 100644
--- a/legacy/eet/src/lib/eet_utils.c
+++ b/legacy/eet/src/lib/eet_utils.c
@@ -4,7 +4,7 @@
4 4
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include <config.h> 6# include <config.h>
7#endif 7#endif /* ifdef HAVE_CONFIG_H */
8 8
9#include <stdio.h> 9#include <stdio.h>
10#include <math.h> 10#include <math.h>
@@ -13,12 +13,13 @@
13#include "Eet_private.h" 13#include "Eet_private.h"
14 14
15int 15int
16_eet_hash_gen(const char *key, int hash_size) 16_eet_hash_gen(const char * key,
17 int hash_size)
17{ 18{
18 int hash_num = 0; 19 int hash_num = 0;
19 int value, i; 20 int value, i;
20 int mask; 21 int mask;
21 unsigned char *ptr; 22 unsigned char * ptr;
22 23
23 /* no string - index 0 */ 24 /* no string - index 0 */
24 if (!key) 25 if (!key)
@@ -35,5 +36,5 @@ _eet_hash_gen(const char *key, int hash_size)
35 hash_num &= mask; 36 hash_num &= mask;
36 /* return it */ 37 /* return it */
37 return hash_num; 38 return hash_num;
38} 39} /* _eet_hash_gen */
39 40