mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Fix warnings reported by gcc -Wstrict-prototypes -Wmissing-prototypes.
This commit is contained in:
parent
d0a05ccfb4
commit
1fab70a664
@ -1,3 +1,9 @@
|
|||||||
|
2005-05-08 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* html-url.c: Include recur.h.
|
||||||
|
|
||||||
|
* http.c (request_new): Define as accepting no args.
|
||||||
|
|
||||||
2005-05-07 Hrvoje Niksic <hniksic@xemacs.org>
|
2005-05-07 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* url.c (strpbrk_or_eos): Made inline. Use strchr(s, '\0') for
|
* url.c (strpbrk_or_eos): Made inline. Use strchr(s, '\0') for
|
||||||
|
@ -45,6 +45,7 @@ so, delete this exception statement from your version. */
|
|||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
#include "convert.h"
|
#include "convert.h"
|
||||||
|
#include "recur.h" /* declaration of get_urls_html */
|
||||||
|
|
||||||
#ifndef errno
|
#ifndef errno
|
||||||
extern int errno;
|
extern int errno;
|
||||||
|
@ -148,7 +148,7 @@ struct request {
|
|||||||
called before the request can be used. */
|
called before the request can be used. */
|
||||||
|
|
||||||
static struct request *
|
static struct request *
|
||||||
request_new ()
|
request_new (void)
|
||||||
{
|
{
|
||||||
struct request *req = xnew0 (struct request);
|
struct request *req = xnew0 (struct request);
|
||||||
req->hcapacity = 8;
|
req->hcapacity = 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user