diff options
| author | hniksic <devnull@localhost> | 2005-06-19 15:34:58 -0700 |
|---|---|---|
| committer | hniksic <devnull@localhost> | 2005-06-19 15:34:58 -0700 |
| commit | 277e840a0f8e3ec8800cfe7407fe3c16000bc622 (patch) | |
| tree | 89ff360f9c84cb688d868c1803d0241b230e005a /src/html-parse.c | |
| parent | 9000d2b527680b4b13964475d84df42815d40e37 (diff) | |
| download | wget-277e840a0f8e3ec8800cfe7407fe3c16000bc622.tar.gz | |
[svn] Remove K&R support.
Diffstat (limited to 'src/html-parse.c')
| -rw-r--r-- | src/html-parse.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/html-parse.c b/src/html-parse.c index cde1a6b7..4a0a5257 100644 --- a/src/html-parse.c +++ b/src/html-parse.c @@ -96,11 +96,7 @@ so, delete this exception statement from your version. */ #include <stdio.h> #include <stdlib.h> -#ifdef HAVE_STRING_H -# include <string.h> -#else -# include <strings.h> -#endif +#include <string.h> #include <assert.h> #include "wget.h" @@ -1014,8 +1010,7 @@ map_html_tags (const char *text, int size, taginfo.attrs = pairs; taginfo.start_position = tag_start_position; taginfo.end_position = p + 1; - /* Ta-dam! */ - (*mapfun) (&taginfo, maparg); + mapfun (&taginfo, maparg); ADVANCE (p); } goto look_for_tag; |
