From 5eeb9ef3c18b4abefd5ac1b139998848e967d9dc Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Fri, 19 Mar 2021 18:10:18 +0100 Subject: [PATCH] Http document alternate icon --- src/http.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/http.h b/src/http.h index e520e95..ee6d5d0 100644 --- a/src/http.h +++ b/src/http.h @@ -61,7 +61,7 @@ typedef struct { http_hdr hdr; } http_res; -const http_status http_statuses[] = { +static const http_status http_statuses[] = { {100, "Informational", "Continue"}, {101, "Informational", "Switching Protocols"}, @@ -109,7 +109,7 @@ const http_status http_statuses[] = { {505, "Server Error", "HTTP Version Not Supported"}, }; -const http_status_msg http_status_messages[] = { +static const http_status_msg http_status_messages[] = { {100, "The client SHOULD continue with its request."}, {101, "The server understands and is willing to comply with the clients request, via the Upgrade message header field, for a change in the application protocol being used on this connection."}, @@ -156,7 +156,7 @@ const http_status_msg http_status_messages[] = { {505, "The server does not support, or refuses to support, the HTTP protocol version that was used in the request message."} }; -const char http_default_document[] = +static const char http_default_document[] = "\n" "\n" "\n" @@ -196,53 +196,53 @@ const char http_default_document[] = "\n" "\n"; -const char http_error_document[] = +static const char http_error_document[] = "\t\t\t

%1$i

\n" "\t\t\t

%2$s :(

\n" "\t\t\t

%3$s

\n" "\t\t\t

%4$s

\n"; -const char http_error_icon[] = - "\t\n"; -const char http_warning_document[] = +static const char http_warning_document[] = "\t\t\t

%1$i

\n" "\t\t\t

%2$s :o

\n" "\t\t\t

%3$s

\n" "\t\t\t

%4$s

\n"; -const char http_warning_icon[] = - "\t\n"; -const char http_success_document[] = +static const char http_success_document[] = "\t\t\t

%1$i

\n" "\t\t\t

%2$s :)

\n" "\t\t\t

%3$s

\n" "\t\t\t

%4$s

\n"; -const char http_success_icon[] = - "\t\n"; -const char http_info_document[] = +static const char http_info_document[] = "\t\t\t

%1$i

\n" "\t\t\t

%2$s :)

\n" "\t\t\t

%3$s

\n" "\t\t\t

%4$s

\n"; -const char http_info_icon[] = - "\t\n";