summaryrefslogtreecommitdiff
path: root/dpi/ftp.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-12-31 22:29:20 +0100
committerjcid <devnull@localhost>2007-12-31 22:29:20 +0100
commit23dc7e05cd91ba61ac1722b6e113b50368a808d9 (patch)
treec6483ef511ba3c91266d68e7cb67ed847ff8cba7 /dpi/ftp.c
parent1d632679c101a37baeb43720e6cd63f91e905fd4 (diff)
- Added more statics in dpi, const in pixmaps, and removed redundant includes.
Diffstat (limited to 'dpi/ftp.c')
-rw-r--r--dpi/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dpi/ftp.c b/dpi/ftp.c
index 437420c7..07225c94 100644
--- a/dpi/ftp.c
+++ b/dpi/ftp.c
@@ -55,7 +55,7 @@
* Global variables
*/
static SockHandler *sh = NULL;
-char **dl_argv = NULL;
+static char **dl_argv = NULL;
/*---------------------------------------------------------------------------*/
@@ -85,7 +85,7 @@ static const ContentType_t MimeTypes[] = {
*
* Return value: (0 on success, 1 on doubt, 2 on lack of data).
*/
-int a_Misc_get_content_type_from_data(void *Data, size_t Size,
+static int a_Misc_get_content_type_from_data(void *Data, size_t Size,
const char **PT)
{
int st = 1; /* default to "doubt' */