Advertisement
Guest User

Untitled

a guest
Mar 4th, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  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’
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement