aboutsummaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.c b/server.c
index 0197aab..f44d77a 100644
--- a/server.c
+++ b/server.c
@@ -48,7 +48,7 @@ static HTTP_METHODS get_require_method(char *method)
}
}
-sitatic int check_file_stat(const char *path, int fd)
+static int check_file_stat(const char *path, int fd)
{
struct stat st;
if (stat(path, &st) == -1 && S_ISDIR(st.st_mode)) {
@@ -58,7 +58,7 @@ sitatic int check_file_stat(const char *path, int fd)
return 0;
}
-sitatic int handle_client(int client_fd, char *buf)
+static int handle_client(int client_fd, char *buf)
{
char method[16], path[256];
if (sscanf(buf, "%15s %255s", method, path) < 2) {