Merge pull request #234 from N-R-K/testing
Fix -Wmissing-prototypes and -Wstrict-prototypes warnings
This commit is contained in:
11
rc.c
11
rc.c
@@ -12,6 +12,7 @@
|
||||
#include "regex.h"
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include "rc.h"
|
||||
|
||||
struct param_ptr {
|
||||
char *name;
|
||||
@@ -852,7 +853,7 @@ create_option_search_table()
|
||||
}
|
||||
}
|
||||
|
||||
struct param_ptr *
|
||||
static struct param_ptr *
|
||||
search_param(char *name)
|
||||
{
|
||||
size_t b, e, i;
|
||||
@@ -1182,8 +1183,8 @@ interpret_rc(FILE * f)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
parse_proxy()
|
||||
static void
|
||||
parse_proxy(void)
|
||||
{
|
||||
if (non_null(HTTP_proxy))
|
||||
parseURL(HTTP_proxy, &HTTP_proxy_parsed, NULL);
|
||||
@@ -1202,8 +1203,8 @@ parse_proxy()
|
||||
}
|
||||
|
||||
#ifdef USE_COOKIE
|
||||
void
|
||||
parse_cookie()
|
||||
static void
|
||||
parse_cookie(void)
|
||||
{
|
||||
if (non_null(cookie_reject_domains))
|
||||
Cookie_reject_domains = make_domain_list(cookie_reject_domains);
|
||||
|
Reference in New Issue
Block a user