diff options
Diffstat (limited to 'src/srs2.c')
-rw-r--r-- | src/srs2.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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; |