aboutsummaryrefslogtreecommitdiff
path: root/src/ht/ft_hthash.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-04-03 07:19:25 +0200
committerCharles <sircharlesaze@gmail.com>2020-04-03 07:19:25 +0200
commitd2feec1f97e9f8f201e56ad33662bb663c328a0a (patch)
treef97690082352bb1752d867d66f21a7bee1ef126c /src/ht/ft_hthash.c
parent948c0953527fe3bef28904b38a16a9e4342e7e98 (diff)
downloadlibft-d2feec1f97e9f8f201e56ad33662bb663c328a0a.tar.gz
libft-d2feec1f97e9f8f201e56ad33662bb663c328a0a.tar.bz2
libft-d2feec1f97e9f8f201e56ad33662bb663c328a0a.zip
Changing hash table del function to regular one with a first order internal function, removing a few typedef to instead use standard types
Diffstat (limited to 'src/ht/ft_hthash.c')
-rw-r--r--src/ht/ft_hthash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ht/ft_hthash.c b/src/ht/ft_hthash.c
index 3369d24..c5d42ea 100644
--- a/src/ht/ft_hthash.c
+++ b/src/ht/ft_hthash.c
@@ -20,9 +20,9 @@
*/
// maybe use a less efficient but understandable function
-t_ftht_digest ft_hthash(t_ftht *ht, char *key)
+size_t ft_hthash(t_ftht *ht, char *key)
{
- t_ftht_digest digest;
+ size_t digest;
if (*key == '\0')
return (0);