Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 4th, 2012  |  syntax: None  |  size: 0.78 KB  |  views: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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’