Fix "parameter has incomplete type" on GCC 3.4.6
commitc9f487cdf44c97948559d882f7b59e37b51cd7af
authorKalle Olavi Niemitalo <kon@iki.fi>
Sun, 9 Aug 2009 14:46:21 +0000 (9 17:46 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sun, 9 Aug 2009 14:50:06 +0000 (9 17:50 +0300)
tree9d16ff5463269c354a1234ee9b1ad5cd1280ee88
parent4a368ceb32ae13126a7953ca360a72dd1b7c7cbe
Fix "parameter has incomplete type" on GCC 3.4.6

Fix this GCC 3.4.6 warning, which becomes an error
if configure --enable-debug adds -Werror to CFLAGS:

      [CC]   src/document/css/apply.o
In file included from /home/Kalle/src/elinks-0.12/src/document/html/internal.h:6,
                 from /home/Kalle/src/elinks-0.12/src/document/css/apply.c:35:
/home/Kalle/src/elinks-0.12/src/document/html/parser.h:149: warning: parameter has incomplete type
In file included from /home/Kalle/src/elinks-0.12/src/document/css/apply.c:35:
/home/Kalle/src/elinks-0.12/src/document/html/internal.h:125: warning: parameter has incomplete type

Even without this warning, "enum html_special_type;"
would not be standard C89.
src/document/html/parser.h