summaryrefslogtreecommitdiff
path: root/src/srs2.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
commit973ae30e7c4f7a1afb385dd3d8eeea178f981445 (patch)
tree1a5d8be5b3ff273a141b6144bf3031b1bc3deb2d /src/srs2.c
parent66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff)
fix deprecated prototypes
Diffstat (limited to 'src/srs2.c')
-rw-r--r--src/srs2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/srs2.c b/src/srs2.c
index ccf53ed..719d9f1 100644
--- a/src/srs2.c
+++ b/src/srs2.c
@@ -285,7 +285,7 @@ static void srs_hash_create_v(srs_t *srs, int idx, char *buf, int nargs, va_list
buf[srs->hashlen] = '\0';
}
-int srs_hash_create(srs_t *srs, char *buf, int nargs, ...)
+static int srs_hash_create(srs_t *srs, char *buf, int nargs, ...)
{
va_list ap;
@@ -300,7 +300,7 @@ int srs_hash_create(srs_t *srs, char *buf, int nargs, ...)
return SRS_SUCCESS;
}
-int srs_hash_check(srs_t *srs, char *hash, int nargs, ...)
+static int srs_hash_check(srs_t *srs, char *hash, int nargs, ...)
{
va_list ap;
char *srshash;
@@ -329,7 +329,7 @@ int srs_hash_check(srs_t *srs, char *hash, int nargs, ...)
return SRS_EHASHINVALID;
}
-int srs_compile_shortcut(
+static int srs_compile_shortcut(
srs_t *srs, char *buf, int buflen, char *sendhost, char *senduser, const char *aliashost)
{
char *srshash;
@@ -371,7 +371,7 @@ int srs_compile_shortcut(
return SRS_SUCCESS;
}
-int srs_compile_guarded(
+static int srs_compile_guarded(
srs_t *srs, char *buf, int buflen, char *sendhost, char *senduser, const char *aliashost)
{
char *srshost;
@@ -434,7 +434,7 @@ int srs_compile_guarded(
return SRS_SUCCESS;
}
-int srs_parse_shortcut(srs_t *srs, char *buf, int buflen, char *senduser)
+static int srs_parse_shortcut(srs_t *srs, char *buf, int buflen, char *senduser)
{
char *srshash;
char *srsstamp;
@@ -465,7 +465,7 @@ int srs_parse_shortcut(srs_t *srs, char *buf, int buflen, char *senduser)
return SRS_ENOTSRSADDRESS;
}
-int srs_parse_guarded(srs_t *srs, char *buf, int buflen, char *senduser)
+static int srs_parse_guarded(srs_t *srs, char *buf, int buflen, char *senduser)
{
char *srshash;
char *srshost;