src/parser.c: declare ohcount_hash_parser_from_language() to fix build error with...
authorPeter Simons <simons@cryp.to>
Sun, 7 Mar 2010 13:53:43 +0000 (14:53 +0100)
committerRobin Luckey <rluckey@geek.net>
Mon, 15 Mar 2010 18:04:20 +0000 (11:04 -0700)
commitcbba965effbce38012f52df7d38ac4e26f9ad893
tree53e4ccb7806b88fb0836e13f22be0d74b06f0da0
parent65ee6bc29f9324ea79047fa065fd49d2ab177598
src/parser.c: declare ohcount_hash_parser_from_language() to fix build error with modern gcc versions

The function ohcount_hash_parser_from_language() was not declared,
resulting in the following compiler error with gcc 4.4.3:

  src/parser.c: In function ‘ohcount_parse’:
  src/parser.c:17: warning: implicit declaration of function ‘ohcount_hash_parser_from_language’
  src/parser.c:17: warning: initialization makes pointer from integer without a cast
  src/parser.c:22: error: dereferencing pointer to incomplete type
src/parser.c