summaryrefslogtreecommitdiff
path: root/src/htsserver.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-01 14:20:19 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-01 14:20:19 +0000
commita94987b93ecad02ca1b077fe784b5d08fb1b6ec4 (patch)
treed3ce2dbaa046e151ce16a0d6a0135a52cc4b2bd0 /src/htsserver.c
parent8d89bfa9bb2ce231aa4daf87e7502df1175693a6 (diff)
Cleaned up a bunck of warnings.
Diffstat (limited to 'src/htsserver.c')
-rw-r--r--src/htsserver.c25
1 files changed, 18 insertions, 7 deletions
diff --git a/src/htsserver.c b/src/htsserver.c
index 1a6626c..3559e3e 100644
--- a/src/htsserver.c
+++ b/src/htsserver.c
@@ -112,13 +112,24 @@ static void sig_brpipe(int code) {
/* ignore */
}
-static int check_readinput_t(T_SOC soc, int timeout);
-static int recv_bl(T_SOC soc, void *buffer, size_t len, int timeout);
-static int linputsoc(T_SOC soc, char *s, int max);
-static int check_readinput(htsblk * r);
-static int linputsoc_t(T_SOC soc, char *s, int max, int timeout);
+HTS_UNUSED static int check_readinput_t(T_SOC soc, int timeout);
+HTS_UNUSED static int recv_bl(T_SOC soc, void *buffer, size_t len, int timeout);
+HTS_UNUSED static int linputsoc(T_SOC soc, char *s, int max);
+HTS_UNUSED static int check_readinput(htsblk * r);
+HTS_UNUSED static int linputsoc_t(T_SOC soc, char *s, int max, int timeout);
+HTS_UNUSED static int linput(FILE * fp, char *s, int max);
-static int linput(FILE * fp, char *s, int max);
+/* Language files */
+HTS_UNUSED static int htslang_load(char *limit_to, char *apppath);
+HTS_UNUSED static void conv_printf(char *from, char *to);
+HTS_UNUSED static void LANG_DELETE(void);
+HTS_UNUSED static void LANG_INIT(char *path);
+HTS_UNUSED static int LANG_T(char *path, int l);
+HTS_UNUSED static int QLANG_T(int l);
+HTS_UNUSED static char *LANGSEL(char *name);
+HTS_UNUSED static char *LANGINTKEY(char *name);
+HTS_UNUSED static int LANG_SEARCH(char *path, char *iso);
+HTS_UNUSED static int LANG_LIST(char *path, char *buffer);
// URL Link catcher
@@ -697,7 +708,7 @@ int smallserver(T_SOC soc, char *url, char *method, char *data, char *path) {
intptr_t adrcd = 0;
if (inthash_readptr(NewLangList, "command_do", &adrcd)) {
- intptr_t adrw = 0, adrpath = 0;
+ intptr_t adrw = 0;
if (inthash_readptr(NewLangList, "winprofile", &adrw)) {