summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/acl.c2
-rw-r--r--src/conffile.c2
-rw-r--r--src/hashmap.c2
-rw-r--r--src/reqs.c6
4 files changed, 6 insertions, 6 deletions
diff --git a/src/acl.c b/src/acl.c
index da3e76e..4eb2fcc 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -68,7 +68,7 @@ static vector_t access_list = NULL;
* -1 on failure (invalid mask value)
*
*/
-inline static int
+static int
fill_netmask_array (char *bitmask_string, unsigned char array[],
unsigned int len)
{
diff --git a/src/conffile.c b/src/conffile.c
index 1fb86f0..5e9d766 100644
--- a/src/conffile.c
+++ b/src/conffile.c
@@ -362,7 +362,7 @@ set_bool_arg (unsigned int *var, const char *line, regmatch_t * match)
return 0;
}
-static inline unsigned long int
+static unsigned long int
get_int_arg (const char *line, regmatch_t * match)
{
assert (line);
diff --git a/src/hashmap.c b/src/hashmap.c
index 74eb9c1..f46fdcb 100644
--- a/src/hashmap.c
+++ b/src/hashmap.c
@@ -126,7 +126,7 @@ hashmap_t hashmap_create (unsigned int nbuckets)
* Returns: 0 if the function completed successfully
* negative number is returned if "entry" was NULL
*/
-static inline int delete_hashbucket (struct hashbucket_s *bucket)
+static int delete_hashbucket (struct hashbucket_s *bucket)
{
struct hashentry_s *nextptr;
struct hashentry_s *ptr;
diff --git a/src/reqs.c b/src/reqs.c
index 26b5e3b..66aafca 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -494,7 +494,7 @@ establish_http_connection (struct conn_s *connptr, struct request_s *request)
* Send the appropriate response to the client to establish a SSL
* connection.
*/
-static inline int send_ssl_response (struct conn_s *connptr)
+static int send_ssl_response (struct conn_s *connptr)
{
return write_message (connptr->client_fd,
"%s\r\n"
@@ -783,7 +783,7 @@ ERROR_EXIT:
* the server.
* -rjkaes
*/
-static inline int add_xtinyproxy_header (struct conn_s *connptr)
+static int add_xtinyproxy_header (struct conn_s *connptr)
{
assert (connptr && connptr->server_fd >= 0);
return write_message (connptr->server_fd,
@@ -796,7 +796,7 @@ static inline int add_xtinyproxy_header (struct conn_s *connptr)
* Now insert this information into the hashmap for the connection so it
* can be retrieved and manipulated later.
*/
-static inline int
+static int
add_header_to_connection (hashmap_t hashofheaders, char *header, size_t len)
{
char *sep;