diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-08-14 10:44:49 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-08-14 10:44:49 +0000 |
commit | 2129ac821df23af1a91ebcf1c2d2c8cc3546e912 (patch) | |
tree | 9c440eb09801149eed85c55101e72a75a439938b /cpukit | |
parent | Fix ChangeLog. (diff) | |
download | rtems-2129ac821df23af1a91ebcf1c2d2c8cc3546e912.tar.bz2 |
2002-08-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems_servers/ftpd.c: Remove unused variable buf.
* pppd/md5.c: #include <string.h> to make gcc31 happy.
* rtems_telnetd/telnetd.c: #include <string.h> to make gcc31 happy.
* rtems_webserver/webmain.c: Remove unused variable dir, cp.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ftpd/ftpd.c | 1 | ||||
-rw-r--r-- | cpukit/httpd/webmain.c | 3 | ||||
-rw-r--r-- | cpukit/pppd/md5.c | 2 | ||||
-rw-r--r-- | cpukit/telnetd/telnetd.c | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/ftpd/ftpd.c b/cpukit/ftpd/ftpd.c index 66ea1e2850..92c21bc2c0 100644 --- a/cpukit/ftpd/ftpd.c +++ b/cpukit/ftpd/ftpd.c @@ -1838,7 +1838,6 @@ session(rtems_task_argument arg) while(1) { rtems_event_set set; - char buf[128]; rtems_event_receive(FTPD_RTEMS_EVENT, RTEMS_EVENT_ANY, RTEMS_NO_TIMEOUT, &set); diff --git a/cpukit/httpd/webmain.c b/cpukit/httpd/webmain.c index 9f9e2c375e..1c2135613e 100644 --- a/cpukit/httpd/webmain.c +++ b/cpukit/httpd/webmain.c @@ -176,8 +176,7 @@ static int initWebs() { struct hostent* hp; struct in_addr intaddr; - char host[128], dir[128], webdir[128]; - char *cp; + char host[128], webdir[128]; char_t wbuf[128]; /* diff --git a/cpukit/pppd/md5.c b/cpukit/pppd/md5.c index db48023c5b..0c16b3e545 100644 --- a/cpukit/pppd/md5.c +++ b/cpukit/pppd/md5.c @@ -33,6 +33,8 @@ *********************************************************************** */ +#include <string.h> /* memcpy */ + #include "md5.h" /* diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c index ce7c5c118d..bc8449ae96 100644 --- a/cpukit/telnetd/telnetd.c +++ b/cpukit/telnetd/telnetd.c @@ -32,6 +32,7 @@ #include <arpa/inet.h> #include <unistd.h> #include <stdlib.h> +#include <string.h> /* memset */ #include <stdio.h> /***********************************************************/ rtems_id telnetd_task_id =0; |