View difference between Paste ID: MgNEEtgP and
SHOW: | | - or go back to the newest paste.
1-
1+
hash.c:81:1: warning: data definition has no type or storage class [enabled by default]
2
hash.c:81:1: error: conflicting types for ‘table’
3
hash.c:80:20: note: previous declaration of ‘table’ was here
4
hash.c:81:43: error: invalid type argument of unary ‘*’ (have ‘int’)
5
hash.c: In function ‘insertsomething’:
6
hash.c:101:5: warning: passing argument 2 of ‘hash_insert’ makes pointer from integer without a cast [enabled by default]
7
hash.c:30:5: note: expected ‘struct hash_table *’ but argument is of type ‘int’
8
hash.c: In function ‘main’:
9
hash.c:110:2: warning: passing argument 2 of ‘hash_retrieve’ makes pointer from integer without a cast [enabled by default]
10
hash.c:47:17: note: expected ‘struct hash_table *’ but argument is of type ‘int’