daokoder / dao-modules

Dao Standard Modules
http://daovm.net
12 stars 5 forks source link

Minor: missing #include <ctype.h> in dao_html.c #49

Closed dumblob closed 9 years ago

dumblob commented 9 years ago
...
dao_html.c: In function ‘DaoxHtmlDocument_Parse’:
dao_html.c:1020:2: warning: implicit declaration of function ‘isalpha’ [-Wimplicit-function-declaration]
  while( start < source->size && isalpha( chars[start] ) == 0 ) start += 1;
  ^
dao_html.c:1022:2: warning: implicit declaration of function ‘isalnum’ [-Wimplicit-function-declaration]
  while( end < source->size && (isalnum( chars[end] ) || chars[end] == '-') ) end += 1;
  ^
...
Night-walker commented 9 years ago

Fixed.